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

Added ability to easily review summary of test results #6982

Merged

Conversation

jmcameron
Copy link
Collaborator

Adds a simplified way to print a summary of regression tests results.

This PR also disables the broken protractor end-to-end tests.

Note that this change copies the output of each test into a 'report' file in the respective test directories. The summary comes by grepping for relevant totals lines in each 'report' file. Note that this always shows the results from the current versions of the 'report' file, even if it is stale. Obviously this could be improved with a smarter script but this is a start.

Testing

  • Use bhima_test
  • run 'yarn test'
  • Should print an abbreviated summary of the test results from all four tests.
  • Run 'yarn test:show-results' to see the results again (without running the tests)

@jmcameron
Copy link
Collaborator Author

bors r+

bors bot added a commit that referenced this pull request Apr 3, 2023
6982: Added ability to easily review summary of test results r=jmcameron a=jmcameron

Adds a simplified way to print a summary of regression tests results.

This PR also disables the broken protractor end-to-end tests.

Note that this change copies the output of each test into a 'report' file in the respective test directories.  The summary comes by grepping for relevant totals lines in each 'report' file.  Note that this always shows the results from the current versions of the 'report' file, even if it is stale.  Obviously this could be improved with a smarter script but this is a start.  

### Testing
- Use bhima_test
- run 'yarn test'
- Should print an abbreviated summary of the test results from all four tests.
- Run 'yarn test:show-results' to see the results again (without running the tests)


Co-authored-by: Jonathan Cameron <jmcameron@gmail.com>
@bors
Copy link
Contributor

bors bot commented Apr 3, 2023

Build failed:

@jmcameron
Copy link
Collaborator Author

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 3, 2023

Build succeeded:

@bors bors bot merged commit 601db37 into Third-Culture-Software:master Apr 3, 2023
@jmcameron jmcameron deleted the log-test-results-to-file branch April 3, 2023 17:11
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

Successfully merging this pull request may close these issues.

1 participant