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

API Test Coverage #760

Closed
3 tasks done
jrjohnson opened this issue Feb 20, 2015 · 2 comments
Closed
3 tasks done

API Test Coverage #760

jrjohnson opened this issue Feb 20, 2015 · 2 comments
Milestone

Comments

@jrjohnson
Copy link
Member

The API needs basic tests like those in Acceptance/UserTest. Each endpoint should get at least basic treatment.

  • create data loaders
  • create fixtures
  • create test cases
@jrjohnson jrjohnson added this to the v3.0.0 milestone Feb 20, 2015
@jrjohnson
Copy link
Member Author

Things to test for:
[ ] New Properties
[ ] Missing Properties
[ ] Run each test on two endpoints to ensure no issues (eg users/1 users/14)
[ ] Test for 404 returned from bad data
[ ] Test for all permutations of a bad route

@stopfstedt
Copy link
Member

Data loaders and test fixtures needed for the following entities:

  • AamcMethod
  • AamcPcrs
  • AlertChangeType
  • Alert
  • ApiKey
  • AssessmentOption
  • AuditAtom
  • Authentication
  • CISession
  • Cohort
  • Competency
  • CourseClerkshipType
  • CourseLearningMaterial
  • Course
  • CurriculumInventoryAcademicLevel
  • CurriculumInventoryExport
  • CurriculumInventoryInstitution
  • CurriculumInventoryReport
  • CurriculumInventorySequenceBlock
  • CurriculumInventorySequenceBlockSession
  • CurriculumInventorySequence
  • Department
  • Discipline
  • IlmSessionFacet
  • IngestionException
  • InstructionHours
  • InstructorGroup
  • LearnerGroup
  • LearningMaterial
  • LearningMaterials
  • LearningMaterialStatus
  • LearningMaterialUserRole
  • Manager
  • MeshConcept
  • MeshDescriptor
  • MeshPreviousIndexing
  • MeshQualifier
  • MeshSemanticType
  • MeshTerm
  • MeshUserSelection
  • Objective
  • Offering
  • Permission
  • Program
  • ProgramYear
  • ProgramYearSteward
  • PublishEvent
  • RecurringEvent
  • Report
  • ReportPoValue
  • Repository
  • School
  • SessionDescription
  • SessionLearningMaterial
  • Session
  • SessionType
  • UserMadeReminder
  • User
  • UserRole

^^ the task-list generating one-liner (in case this needs to be re-run at some point):

ls src/Ilios/CoreBundle/Entity/ | egrep -v 'Interface' | sed 's|\.php||' | sed 's|^| - [ ] |'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants