- Fix rake task to retrieve codebase revision properly.
- Try to infer the git sha from annotations when running inside an AWS EKS container.
- Remove
trace_id
from SmokeTestResponse. - Drop support for Rails < 6.0.
- Support Ruby 3.2 and Rails 7.0.
- Drop support for Ruby < 2.7 and Rails < 5.2.
- Move CI to GitHub Actions.
- Suppress the stderr message, "fatal: Not a git repository", when the git show command failed.
- Try to infer the git revision from metadata when running inside an AWS ECS container.
- Require Ruby 2.3 and up.
- Require 'timeout' in SmokeTest class
- The gem depends on Ruby 2.1 or superior.
- Measure the duration of each smoke test
- Expose the
status
andrender
methods in SmokeTestResponse, so clients can call them directly
- Only load Kapnismology engine when Rails is defined
- Support running unit tests without Rails with
NO_RAILS=1 bundle exec rspec
- Output has codebase revision information
- Coloring output only on interactive terminals
- Make sure the internal @all_result_messages array is initialized
- Raise ArgumentError when data is not a hash
- Changed the output of the /smoke_test path to support new format
- Removed InfoResult class
- Added timeout functionality. Now smoke tests timeout after 10s by default.
- Rescue exceptions inheriting from Exception to rescue network errors
- Added a class NotApplicableResult for the cases when we really really do not want to show a result in the output
- Added a class InfoResult to substitute NullResult (which is deprecated now)
- NullResult now appears in the output.
- SmokeTestFailed accepts an exception as parameter
- Allow to see message, data and extra_messages to make for painless testing
- Allow to raise SmokeTestFailed from outside smoketest classes
- Added SpecHelper class to make testing of results easier.
- Added parameters to rake task helper so rake tasks can use tags.
- Added puts_to_result method to allow context information in checks
- Raising SmokeTestFailed will make a test to return proper failed information
- Returning a Success object will pass the test
- Improved terminal output for rake tasks
- Solved bug where smoketest class did not require all its dependencies
- Result classes can be used without the Kapnismology module name
- Redo untestable result functionality and rename it to NullResult
- Add UnTestableResult as a possible result so tests can skip situations
- Loads files in 'lib/smoke_test' if available. Do not force eager loading.
- Allow usage with Rails 5
- Allows to provide a "tags" parameter to the url to only run smoke tests tagged with certain tags.
- Allows to provide a "skip" parameted to the url to skip certain smoke tests
- Output uses "data" to indicate data, the test name is the key of the hash.
- Order of parameters in the Result API has changed to make more sense.
- Classes do not need to specify their name. They still can but it is optional
- Add tests for rails 3.2, 4.0, 4.1, 4.2
- Relax dependency to Rails 3.2+
- Add evaluation_collection to the repo
- Add failure state to the controller
- Delete nil results from the output