Repository navigation
DEPRECATED: Smoke Tests
Warning
Deprecated documentation
This page is retained for historical reference and may no longer describe the current Ursus application or development environment.
For current documentation, start with Solr in Ursus.
Smoke tests are a subset of test cases that cover the most important functionality of a component or system, used to aid assessment of whether main functions of the software appear to work correctly. They refer to testing the basic functionality of the build.
Also referred to as also confidence testing, sanity testing, build verification test and build acceptance testing.
They verify critical functionalities like; "Did the application start successfully?".
A daily build and smoke test is among industry best practices.
- Identifying the business critical functionalities that a product must satisfy.
- Designing and executing the basic functionalities of the application.
- Ensuring that the smoke test passes each and every build in order to proceed with the testing.
- Smoke Tests enables uncovering obvious errors which saves time and effort of test team.
Smoke Tests can be manual or automated.
- https://www.guru99.com/smoke-sanity-testing.html
- https://www.guru99.com/smoke-testing.html
- http://softwaretestingfundamentals.com/smoke-testing/
- https://www.tutorialspoint.com/software_testing_dictionary/smoke_testing.htm
- https://en.wikipedia.org/wiki/Smoke_testing_(software)
$ docker-compose -f docker-compose-with-californica.yml run web bundle exec rspec --tag smoketest spec/smoketests
Selenium::WebDriver::Error::UnknownError:
unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=73.0.3683.75,platform=Linux 4.9.125-linuxkit x86_64)
$ docker-compose -f docker-compose-with-californica.yml run web apt-get install chromium chromedriver -y
https://jira.library.ucla.edu/browse/URS-388
It collects expectations for what exists in ursus-production
It can run from someone's local environment
It can tell whether ursus has been indexed as expected (it has more than 6000 items)
if loaded from LADNN we expect there to be at least a couple facets
It grows over time - (these tests will change over time)
It has tests for search relevancy that exercise various search features (e.g., AND vs OR testing
Add a facet spec
Advantages of Smoke testing Here are few advantages listed for Smoke Testing.
Easy to perform testing Defects will be identified in early stages. Improves the quality of the system Reduces the risk Progress is easier to access. Saves test effort and time Easy to detect critical errors and correction of errors. It runs quickly Minimises integration risks