Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: introduce new testing framework #46

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

longfangsong
Copy link
Member

@longfangsong longfangsong commented May 23, 2022

What problem does this PR solve?

Issue Number: close #26

Problem Summary:
Currently, doing integration tests are so hard.

What is changed and how it works?

What's Changed:
Now just add the test cases into test_cases, and make integration_test will do the job.

Docker, Python and jinjia2 is required, hopefully these requirements can be made simpler (in a single docker) in the future.

How it Works:

  • Use shuasm to generate hex form of the asm the user provides.
  • Use python scripts to generate TopTest.scala and ProgramRom.scala for each test case

Related changes

  • PR to update shuorv/doc/: (WIP)

@longfangsong longfangsong force-pushed the new-test-framework branch 2 times, most recently from 210d1a5 to 4d0a7ab Compare May 23, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

更好的做整合测试的方案
1 participant