Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Integration Tests for EmployeeRepository #9

Closed
12 tasks done
sohlae opened this issue Jan 8, 2019 · 0 comments
Closed
12 tasks done

Create Integration Tests for EmployeeRepository #9

sohlae opened this issue Jan 8, 2019 · 0 comments
Assignees
Labels
task For user stories / tasks

Comments

@sohlae
Copy link
Owner

sohlae commented Jan 8, 2019

TASKS

Get Method

  • When the method is called, the Id should not be zero.

AddRange Method

  • When the method is called, the Ids of the list should not be zero.

Find Method

  • When the method is called, the count of the result should be one.
  • When the method is called, the return type should be an IEnumerable<Employee>

Get Method

  • When the method is called, the FirstName of the result should be Integration-6
  • When the method is called, the return type should be an Employee

GetAll Method

  • When the method is called, the count of the result should not be zero.
  • When the method is called, the return type should be an IEnumerable<Employee>

Remove Method

  • When the method is called, the count of the result should be zero.

RemoveRange Method

  • When the method is called, the count of the result should be zero.

GetTop5Employees Method

  • When the method is called, the result count should be less than or equal to 5.
  • When the method is called, the result type should be an instance of IEnumerable<Employee>.
@sohlae sohlae added the task For user stories / tasks label Jan 8, 2019
@sohlae sohlae self-assigned this Jan 8, 2019
@sohlae sohlae changed the title Create Integration Tests for IRepository<T> Create Integration Tests for Repository<T> Jan 10, 2019
@sohlae sohlae changed the title Create Integration Tests for Repository<T> Create Integration Tests for EmployeeRepository Jan 10, 2019
sohlae pushed a commit that referenced this issue Jan 14, 2019
sohlae pushed a commit that referenced this issue Jan 14, 2019
@sohlae sohlae closed this as completed Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task For user stories / tasks
Projects
None yet
Development

No branches or pull requests

1 participant