Docs: 'Running the Tests' section is out of date
See original GitHub issueDescription of Issue/Question
It looks like this docs section about setting up and running the Salt test suite is out-of-date: https://github.com/saltstack/salt/blob/develop/doc/topics/tutorials/writing_tests.rst
Quote from @gtmanfred from https://github.com/saltstack/salt/pull/51082/files#r246492565:
The docs should really have instructions about using test-kitchen to run the test suite.
There are some examples here https://kitchen.saltstack.com/docs/file/docs/gettingstarted.md
but nothing specific to the salt test suite, which uses just
bundle exec kitchen verify
and can be configured with the runtests verifier to only run specific tests.https://kitchen.saltstack.com/docs/file/docs/runtests.md#tests
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Control when app changes are published with managed ...
To learn more about testing, go to Set up an open, closed, or internal test. ... on” in the “Managed publishing status” section...
Read more >Why does make think the target is up to date?
Maybe you have a file/directory named test in the directory. If this directory exists, and has no dependencies that are more recent, then...
Read more >doctest — Test interactive Python examples
This section examines in detail how doctest works: which docstrings it looks at, how it finds interactive examples, what execution context it uses,...
Read more >mix test — Mix v1.14.2
Settings View Source mix test (Mix v1.14.2). Runs the tests for a project. This task starts the current application, loads up test/test_helper.exs and...
Read more >Best practices for writing unit tests - .NET
Learn best practices for writing unit tests that drive code quality and resilience for .NET Core and .NET Standard projects.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, we can.
as an update here. Since our tests have continued to change over the last 6 months we are going to wait until the migration to pytest is complete so we can ensure when we update the test documentation it is all accurate. I will be working with the test working group when that migration is complete to ensure we update all of the required documentation. Juts wanted to update the issue here.