-
Notifications
You must be signed in to change notification settings - Fork 1
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
Doc: clarify the confusion between integration and functional tests #19
Conversation
* Ensuring the compliance to the coding style guidelines Ensuring the presence | ||
* and coverage of tests (unit, integration, functional and performance) Ensuring | ||
* the code is functional and working, through the tests Ensuring the commit | ||
* messages were properly formatted and as atomic as possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's a misformatting in this paragraph.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's ugly, fixing this!
edff5b1
to
7090897
Compare
Can we simplify along the lines set forth in this last quora answer: https://www.quora.com/What-is-the-difference-between-unit-testing-functional-testing-and-integration-testing It is confusing to think about unit tests and integration tests as totally different animals. If you look at them as along one spectrum it makes more sense (at least to me). Unit tests examine less code and integration tests examine more code/functions working together. Then functional testing is clearly a different animal testing whether a feature works from the perspective of a user. |
Well, originally, (I notice it wasn't updated in the guidelines anyways),
This is something that felt clear to at least a few of us (only naming I see that here, we have a reversed definition of functional and David Pineau On Fri, Dec 4, 2015 at 7:51 PM, Lauren Spiegel notifications@github.com
|
On the semantic side, I'm with you on the functional being just assessing functionnalites, and integration as an overarching tests with components plugged together. But that's just semantics. We'll need every kind of tests, from unit to performance ones. |
By the way, this is related to #17. |
I'm OK with any definition, as long as we make a decision once and for all and use it consistently. PS: It looks like Quora agrees with @rachedbenmustapha's definition... |
Does PR #26 obsoletize this one ? If yes, please close. |
As a followup to scality/IronMan-Data#96 here is a proposed update to the testing guidelines, which were leaving room for interpretation for classifying tests as functional instead of integration.