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

Define Unit Tests for Models #17

Closed
chill5018 opened this issue Oct 17, 2018 · 1 comment
Closed

Define Unit Tests for Models #17

chill5018 opened this issue Oct 17, 2018 · 1 comment
Assignees

Comments

@chill5018
Copy link
Owner

chill5018 commented Oct 17, 2018

Use #15 to define models for TDD

@chill5018 chill5018 self-assigned this Oct 17, 2018
@chill5018
Copy link
Owner Author

Equivalance Testing
ID's: Test that ID's are integers, not double, not string.
Strings: Test that string fields are not numbers 1234!Norway
Price: Should be double, not strings, long, integers, should be greater than 0
Airport Codes: 3 characters, String, not numbers, not contain numbers,
Flight Number: String + Numbers Usually 2 Letters followed by 3-5 numbers
Timestamps: long, fixed length, valid unix timestamp, i.e. after Jan 1, 1970, Long
Origin + Destination Names: String, no numbers, can contain spaces.

@chill5018 chill5018 assigned Mirch and unassigned chill5018 Oct 18, 2018
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