All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Option
--no-json
: do not print output json.
- Perf: Now titania.go doesn't hold input/output/code/... data.
- Hence, intermediate files should be always created now, and the default directory is
./titania-out
.
- Added
"language"
for"input_order"
.
- Update Go to 1.16
- Fix null pointer reference crash & command line parsing issues.
- New fields
"input_prefix"
and"answer_prefix"
. You can now use those prefixes to identify each test case.
"input_extension"
and"output_extension"
are deprecated. They are now"input_suffix"
and"answer_suffix"
respectively.
- Output Json's format changed. Now
"fruits"
&"details"
are named as"test_targets"
&"test_cases"
,"is_expected"
is replaced by"expect"
, etc.
- Doesn't create temporary files by default.
- You can now set the maximum jobs to run concurrently by
--maxjob=N
.
piorun
command now takesos.Stdin
as default input.- Now you can set
"delimiter"
and more detailed order for"test_method"
.
- Added
simplejson
subpackage. - Added a functionality to store intermediate output files to a temporary directory.
- Added
--temdir=
option to change the temporary directory.
paizaio
package was renamed torunner
.pio
command was renamed topiorun
.- Now output json is not pretty-printed by default. You can use
--pretty
flag to pretty-print. internal/pkg/pretty
package are now public.internal/pkg/langtype
were merged intorunner
package.- You can now set
config -> "test_target" -> "expected"
an object that explains what results is expected for each test case. Still, a plain string is OK. - Now
config -> "test_method" -> "on"
isconfig -> "test_method" -> "on_exit"
, and you can set an integer on which the method will be executed.
- You can now specify input order for TestMethod execution.
- Now TypeScript and なでしこ are available (Following the change of paiza.io API).
- Now
tester.Detail.Error
includesbuild_stderr
. - Now
tester.NewTestUnit
takes*tester.Config
as argument. You have to create a*tester.Config
instance beforetester.NewTestUnit
- Now
paizaio.RunnersGetDetailsResponse
hasError
field. - Better error handling.
- Removed
jessevdk/go-flags
dependency.
internal/pkg/viewer
is now a part ofpkg/tester
.- Output while quiet testing is more informative.
- Added new option
--quiet
.
- Experimental option
--async
was removed.
paizaio
API change. Now you have to use(*paizaio.Client).RunnersXXX
withpaizaio.Request
value, and getpaizaio.Response
value.
- New command
pio
. Executes a single file using paiza.io API.
- Many of refactorings.
- Now
pretty
library is internal. - Cut out the
tester/viewer
asviewer
internal library. - Now
tester
andpaizaio
libraries are public package.
- Fix
paizaio.RunnersGetDetailsResponse.BuildTime
was not handled properly.
- Some refactorings.
- The output json's
test_matter
fields are nowname
fields.
- Introduce project layout.
- Introduce this CHANGELOG.md.
- Now
pretty
library in this project is public.