snu-quiqcl / qiwis

QuIqcl Widget Integration Software
MIT License
5 stars 2 forks source link

[FEATURE] Unit test for swift module #107

Closed BECATRUE closed 1 year ago

BECATRUE commented 1 year ago

Feature you want to implement

I want to implement the unit test for swift.swift module.

How the feature is implemented

Test for parse()

Test for strinfo()

Test for Swift class

Test for _add_to_path()

Test for _get_argparser()

Test for _read_setup_file()

Test for main()

Additional context

It is necessary to use mock module.

See also: mock

BECATRUE commented 1 year ago

I will fill specific todo-lists later.

kangz12345 commented 1 year ago

I think for unit testing, you don't have to write all the plan. The test code itself would tell us explicitly. I guess...?