Implement automated testing #9

Open
opened 2023-03-08 15:43:55 +01:00 by basvandewiel · 2 comments
basvandewiel commented 2023-03-08 15:43:55 +01:00 (Migrated from github.com)

Develop (or even better: find existing in the wild) a basic testing harness so we are able to unit-test the functions of the nfs_mount.sh script and validate correctness (to a point) before releasing to the world.

  • Find/write a framework
  • Write tests for the functions in the script
  • Set up Github actions to automatically run the tests before a PR can be merged.
Develop (or even better: find existing in the wild) a basic testing harness so we are able to unit-test the functions of the nfs_mount.sh script and validate correctness (to a point) before releasing to the world. - Find/write a framework - Write tests for the functions in the script - Set up Github actions to automatically run the tests before a PR can be merged.
basvandewiel commented 2023-03-08 15:46:33 +01:00 (Migrated from github.com)

Bach looks reasonable:

https://bach.sh/

Bach looks reasonable: https://bach.sh/
basvandewiel commented 2023-03-08 17:50:26 +01:00 (Migrated from github.com)

ShellSpec looks like a bit much for a tiny script.

https://shellspec.info

ShellSpec looks like a bit much for a tiny script. https://shellspec.info
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Public/misternfs#9
No description provided.