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 the binary #33

Open
1 of 2 tasks
amtoine opened this issue Jun 22, 2023 · 0 comments
Open
1 of 2 tasks

test the binary #33

amtoine opened this issue Jun 22, 2023 · 0 comments
Labels
enhancement New feature or request tests

Comments

@amtoine
Copy link
Member

amtoine commented Jun 22, 2023

Should we test the function format_file? we can write a file, format it and the test it. After that, we can delete the file.
What do you think? We can move that to another time too!

Originally posted by @AucaCoyan in #31 (comment)

as nufmt is both a library (nu-formatter) and a binary application (nufmt), i think we should test both at some point!

  • we already started testing the library with format_string 👌
  • we could take some inspiration from Nushell to test nufmt, you know with the nu! macro that runs commands in nu as if the tests were in the REPL
@amtoine amtoine added enhancement New feature or request tests labels Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests
Projects
None yet
Development

No branches or pull requests

1 participant