mix yuki.test (YukiHelper v0.2.0) View Source
Tests your source code for the specified problem.
From mix task:
mix yuki.test NO [--problem-id] [--lang LANG] [--source SOURCE] [--time-limit TIME_LIMIT] [--module MODULE]From escript:
yuki test NO [--problem-id] [--lang LANG] [--source SOURCE] [--time-limit TIME_LIMIT] [--module MODULE]In order to test your source code, solves a path of the source code.
If there is prefix configuration, decides its filename consisting prefix, problem number, and, extention.
For example, if prefix, problem number, and, language is p, 10, and, elixir,
respectively, the filename is p10.ex.
Finds its file from directories src and lib recursively.
Note: If there is not any testcase for the problem, first, downloads its testcases.
Options
--problem-id: iftrue,NOis the problem ID. Iffalse,NOis the problem number.--lang: this option specifies language to use. Seemix help yuki.lang.listoryuki help lang.listfor a list of available language. Withoutlanguage.primaryin config file, default toelixir.--source: this option specifies a path of source code if source code is out of scope for auto search onsrcorlib.--time-limit: this option redefinesTIME_LIMIT. Default to 5000 ms.--module: this option is only valid forelixirand specifies custom entry pointMODULE.mainon executing.