Skip to content

Conversation

@NotAShelf
Copy link
Member

@NotAShelf NotAShelf commented Apr 26, 2025

Quite a large change that spiraled out of control a little as I wanted to do more and more. Initially this change was to move nh checks into a separate module, and remove unused functions from utils. Though, on the theme of "checks", I also decided to add some tests etc. Now it's a 2k diff that Viper will not review :trollface:

Adds a bunch of tests, VM tests, etc. Closes #237

Complete testing infrastructure to make sure we never break user interface by accident, and that everything continues to work as intended on every change. Quite a large change, but does not affect the users in any way.

@NotAShelf NotAShelf changed the title nh: move checks to a dedicated module; validate nix setup nh: dediced environment checks; implement fully testing framework May 4, 2025
@NotAShelf NotAShelf changed the title nh: dediced environment checks; implement fully testing framework nh: dediced environment checks; implement full testing framework May 4, 2025
@NotAShelf NotAShelf changed the title nh: dediced environment checks; implement full testing framework nh: mock tests, VM tests and other testing infra May 8, 2025
@NotAShelf NotAShelf marked this pull request as draft May 8, 2025 06:23
@Eveeifyeve
Copy link
Member

Oh I was going to do this part of basic testing then this pr happened.... Well I can still help you what tests are left to do?

@NotAShelf
Copy link
Member Author

What's left to do now is to rebase on my other PR, and add new unit tests. It'd be nice to finish NixOS VM tests, but I'm handling that in a separate PR.

@NotAShelf
Copy link
Member Author

Most changes were cherry picked into different PRs.

@NotAShelf NotAShelf closed this Aug 9, 2025
@github-actions github-actions bot deleted the nh-checks branch September 1, 2025 04:25
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.

nh <cmd> repl does not work

4 participants