Skip to content

Integration tests#85

Merged
XachaB merged 20 commits intodevfrom
add-bash-tests
Mar 11, 2025
Merged

Integration tests#85
XachaB merged 20 commits intodevfrom
add-bash-tests

Conversation

@XachaB
Copy link
Owner

@XachaB XachaB commented Mar 11, 2025

Per #83

@XachaB XachaB changed the base branch from master to dev March 11, 2025 12:18
@XachaB XachaB mentioned this pull request Mar 11, 2025
12 tasks
@julesbouton
Copy link
Collaborator

I fixed the variables issue, but we have other problems.

@XachaB
Copy link
Owner Author

XachaB commented Mar 11, 2025

I think you added a guard to avoid importing overabundant patterns -- but I do it for the lattices stuff (just not for entropies). I'll remove that and try to fix :)

@julesbouton
Copy link
Collaborator

Oh true, good catch. In between I managed to break the patterns. We really needed these integration tests.

@XachaB
Copy link
Owner Author

XachaB commented Mar 11, 2025

We also do need proper unit tests (remember the "dire testing situation"), but I just don't have the time for now, so this will have to suffice temporarily

@julesbouton
Copy link
Collaborator

I think we fixed simultaneously but differently the patterns issue. Everything should be back now.

Yes propert unit tests will be for another time. This is already a lot of cleaning up / improving the code and how Qumin works.

@XachaB
Copy link
Owner Author

XachaB commented Mar 11, 2025

No it's broken now, I think it was working this afternoon ?

@julesbouton
Copy link
Collaborator

No it's broken now, I think it was working this afternoon ?

My last commit fixed it. But the entropies are broken apparently.

@XachaB
Copy link
Owner Author

XachaB commented Mar 11, 2025

Try this, it fails:

qumin hydra.run.dir=tests/scripts/test_run_pat data=tests/data/TestPackage/test.package.json pats.overabundant.keep=True pats.defective=True action=patterns

@julesbouton
Copy link
Collaborator

Try this, it fails:

qumin hydra.run.dir=tests/scripts/test_run_pat data=tests/data/TestPackage/test.package.json pats.overabundant.keep=True pats.defective=True action=patterns

That's my fault then, sorry

@julesbouton
Copy link
Collaborator

julesbouton commented Mar 11, 2025

Sorry, everything is going so quickly that I didn't notice in time that you already fixed the patterns thing. And my fix was probably worse than the problem.

@XachaB
Copy link
Owner Author

XachaB commented Mar 11, 2025

Lol, no worries, working on the same branch simultaneously is bound to lead to madness. I just fixed something that was my fault (and caused the regression in entropies). I have to go now, so if you're not off, you've got the branch for yourself for a while :)

@julesbouton
Copy link
Collaborator

Passed the tests! 🥳

@XachaB XachaB merged commit 5e7f466 into dev Mar 11, 2025
6 checks passed
@julesbouton julesbouton deleted the add-bash-tests branch March 11, 2025 18:08
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.

2 participants