JOJ3-config-generator/tests/convert/test_convert_cases.py
李衍志523370910113 9213e57ca3
All checks were successful
build / build (push) Successful in 2m32s
dev (#10)
## What I have done:

- basic generation of json files
  - supported parsers:
    - healthcheck
    - result-detail
    - result-status
    - file
    - log
    - dummy
    - keyword (keyword, clangtidy, cppcheck, cpplint)
    - diff
- `convert` functions is mature, tested in engr151-24fa last two homeworks and engr151-24fa p3
- teapot and healthcheck should be up to date

## TODO

- update all new comming parsers in future.

@bomingzh Could you please help me do a code review first then I shall fix all things and rebase? I checked the source code of JOJ3 currently, and find we have more parsers, such as plugin and tierscore, I haven''t added them yet, and some of the keys might have changed such as clang-tidy, can you help me take a look if current version is still up to date? I ll redo the fix tomorrow

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: #10
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn>
Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
2025-03-05 16:20:38 +08:00

30 lines
437 B
Python

from tests.convert.utils import load_case
def test_basic() -> None:
load_case("basic")
def test_clang_tidy() -> None:
load_case("clang-tidy")
def test_cppcheck() -> None:
load_case("cppcheck")
def test_cpplint() -> None:
load_case("cpplint")
def test_diff() -> None:
load_case("diff")
def test_keyword() -> None:
load_case("keyword")
def test_result_detail() -> None:
load_case("result-detail")