diff options
Diffstat (limited to 'share/qtcreator/templates/wizards/projects/nimble/hybrid/tests/test1.nim')
-rw-r--r-- | share/qtcreator/templates/wizards/projects/nimble/hybrid/tests/test1.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/projects/nimble/hybrid/tests/test1.nim b/share/qtcreator/templates/wizards/projects/nimble/hybrid/tests/test1.nim new file mode 100644 index 0000000000..cabb157e1c --- /dev/null +++ b/share/qtcreator/templates/wizards/projects/nimble/hybrid/tests/test1.nim @@ -0,0 +1,12 @@ +# This is just an example to get you started. You may wish to put all of your +# tests into a single file, or separate them into multiple `test1`, `test2` +# etc. files (better names are recommended, just make sure the name starts with +# the letter 't'). +# +# To run these tests, simply execute `nimble test`. + +import unittest + +import %{ProjectName}pkg/submodule +test "correct welcome": + check getWelcomeMessage() == "Hello, World!" |