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

How to test out dict.yaml with unittest or CI? #234

Closed
sih4sing5hong5 opened this issue Dec 21, 2018 · 2 comments
Closed

How to test out dict.yaml with unittest or CI? #234

sih4sing5hong5 opened this issue Dec 21, 2018 · 2 comments

Comments

@sih4sing5hong5
Copy link

sih4sing5hong5 commented Dec 21, 2018

RIME is very smart, we're so suprised.

Our writing system is complex, so we wrote some test cases.

  1. If e7-taing3 in dict.yaml, when typing e7-tang3, and we will get e7-tang3.
  2. If e7-taing3 in dict.yaml, when typing e7tang3, and we will get e7-tang3.
  3. If e7-taing3 in dict.yaml, when typing etang, and we will get e7-tang3.
  4. ...

Because the rules of our language are too many, we want to make some tools like auto-unittest or continuous integration system.

Is there any entrypoint to run tests?
Thank you!

Updated : test/table_test.cc tests for low-level manipluation, we want to test high-level dict.yaml

@lotem
Copy link
Member

lotem commented Dec 22, 2018

@sih4sing5hong5
Copy link
Author

Thank you.
rime_api_console.cc is what we want.
We will try it.

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

No branches or pull requests

2 participants