Closed BECATRUE closed 1 year ago
I want to implement the unit test for swift.swift module.
swift.swift
parse()
strinfo()
Swift
_add_to_path()
sys
_get_argparser()
_read_setup_file()
app_infos
bus_infos
main()
It is necessary to use mock module.
mock
See also: mock
I will fill specific todo-lists later.
I think for unit testing, you don't have to write all the plan. The test code itself would tell us explicitly. I guess...?
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
classTest for
_add_to_path()
sys
.Test for
_get_argparser()
Test for
_read_setup_file()
app_infos
andbus_infos
are assigned using the setup file.Test for
main()
Additional context
It is necessary to use
mock
module.See also: mock