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

fix settings being ignored #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kylesferrazza
Copy link

@kylesferrazza kylesferrazza commented Dec 1, 2023

Settings attrset:

{
  "verbose" = true;
  "list" = false;
  "trace" = false;
  "watch" = false;
}

No CLI args provided.

Two suites, each has:

  • one test that returns true named works
  • one test that returns false named fails

Before

Passing tests are not printed as expected:

$ nixt

Found 4 cases in 2 suites over 1 files.

┏ /nix/store/9jvp1z2q48p5vah4g35kjpnmzx7nx3n-source/day01/test.nix
┃   suite1
┃     ✗ fails
┃
┃   suite2
┃     ✗ fails

After

Passing tests are printed as expected:

$ nixt

Found 4 cases in 2 suites over 1 files.

┏ /nix/store/5rn93pyw49mh7yzsgbqk6f2if4p0cg0-source/day01/test.nix
┃   suite1
┃     ✗ fails
┃     ✓ works
┃
┃   suite2
┃     ✗ fails
┗     ✓ works

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

Successfully merging this pull request may close these issues.

1 participant