question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docs: 'Running the Tests' section is out of date

See original GitHub issue

Description 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
s0undt3chcommented, Feb 1, 2022

Yes, we can.

1reaction
Ch3LLcommented, Dec 11, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found