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

Test suite: Tracking issue #535

Open
4 tasks
Narrat opened this issue Aug 7, 2024 · 3 comments
Open
4 tasks

Test suite: Tracking issue #535

Narrat opened this issue Aug 7, 2024 · 3 comments

Comments

@Narrat
Copy link
Collaborator

Narrat commented Aug 7, 2024

Some points to possible enhance the tomb testsuite

  • Update sharness (https://github.com/felipec/sharness/releases)
  • bind test pollutes $HOME
    • remove generated file?
    • set up a temp $HOME in general?
  • restructure tests
    • sorting after tomb features is only partially helpful, as there may be testcases that won't really fit anywhere then
  • General: cover and test more

and likely more. Those will appear when this is tackled

@jaromil
Copy link
Member

jaromil commented Sep 8, 2024

it may be worth looking into a switch to the bats test framework which we use extensively in zenroom so there is a bit more in house Knowledge about that in dyne.

@Narrat
Copy link
Collaborator Author

Narrat commented Sep 8, 2024

That could indeed be worthwhile to use what is already known. Is it a general shell test framework? The Readme itself explicitly states bash: Bats is a [TAP](https://testanything.org/)-compliant testing framework for Bash 3.2 or above.

@roddhjav
Copy link
Contributor

roddhjav commented Sep 8, 2024

it may be worth looking into a switch to the bats test framework

I agree. I wanted to give it a try a while ago. however, I have never had time to spend on it.

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

No branches or pull requests

3 participants