-
-
Notifications
You must be signed in to change notification settings - Fork 333
Update testing intro doc #4735
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
Update testing intro doc #4735
Conversation
Signed-off-by: Mats Wichmann <mats@linux.com>
the unit tests for the ``Builder.py`` module are in the | ||
``BuilderTests.py`` script. Unit tests tend to be based on assertions. | ||
``SCons/`` subdirectory (that is alongside the code they are testing) | ||
and use the Python ``unittest`` module to perform assertion-based |
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.
Should include that files have to be named *Tests.py to be found.
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 thought that's what that section was saying?
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 don't see it in this section.. it's much later in the doc..
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'm not seeing the reason for the fuss here. This is an "about" section, not a "how to" section. I can add these but it seems like extra noise.
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.
You removed it from the original, which I think is useful information to have up front.
Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
This does not affect SCons at all - only updates the document (which is eventually duplicated on the Wiki) about making use of the SCons test framework.
It's not going to be easy to review in the classical way, maybe just scan through the full doc and see if it makes sense this way?
https://scons.org/guidelines.html
Contributor Checklist:
CHANGES.txt
andRELEASE.txt
(and read theREADME.rst
).