Dyalog / ullu

Testing primitives of DyalogAPL
MIT License
1 stars 0 forks source link

ullu Banner

GitHub Licence

ullu

A test suite to test APL Primitives.

🤔 What is ullu?

Ullu is a QA for DyalogAPL (can be used to test any APL ideally) which tests specifically the functionality of primitives one by one. This test suite's main focus is finding bugs, irregularities, edge cases and code coverage.

🎿 Coverage

💪 Available Tests

🧱 Under progress

✍ The name

Pronounced as /ˈulːluː/, The name comes from the Hindi word for owl.

Just as the owl represents both wisdom and foolishness the QA also has a dual nature of being wise and dumb at the same time.

⬇ Usage

You can use ullu in a dyalog session on any supported operating system.

Quick Run

Run tests using dyalogscript:

dyalogscript run.apls

After this, you will be prompted with options to choose from

Detailed Run

Using Dyalog Interpreter (prefered):

]LINK.Create # <path to repository>
unittest.RunTests tests.[test_namespace] [verbose= 1|0] [stop=1|0] [⎕RL=any seed value(''?'' for random)] (0 default)

Options:

verbose: if set to 0, only output failing tests and a single summary line.

stop: if set to 1, any test which fails causes the framework to stop and allows the developer to inspect the failing test.

⎕RL: Seed value to for the random link variable that generates random numbers through the tests (it gets reset after each test)

Example:

unittest.RunTests tests.membership 1 0 1232

or

unittest.RunTests tests.membership

🔗 More documentation

🔗 Suggestions/Questions

Feel free to open GitHub issues for any questions, suggestions or feature requests

If you want to reach out, please email aarush[at]dyalog.com

⚖ Licence

Copyright 2023 Dyalog

Licensed under MIT License: https://opensource.org/licenses/MIT