Skip to content

Add unit tests for workflow.rs#6

Merged
tusharmath merged 5 commits intotailcallhq:mainfrom
asr2003:test-workflow
Oct 18, 2024
Merged

Add unit tests for workflow.rs#6
tusharmath merged 5 commits intotailcallhq:mainfrom
asr2003:test-workflow

Conversation

@asr2003
Copy link
Copy Markdown
Contributor

@asr2003 asr2003 commented Oct 13, 2024

Closes #4
/claim #4

@asr2003
Copy link
Copy Markdown
Contributor Author

asr2003 commented Oct 13, 2024

@tusharmath I can't see any workflow to test it in local repo. So this is log from my PC of cargo test


running 3 tests
test worker::tests::test_worker_compare ... ok
test worker::tests::test_worker_new ... ok
test worker::tests::test_worker_generate ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s

   Doc-tests gh_workflow_rs

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

@asr2003
Copy link
Copy Markdown
Contributor Author

asr2003 commented Oct 13, 2024

An additional test also added to compare workflows mismatch:

test worker::tests::test_worker_compare_mismatch ... ok

@asr2003
Copy link
Copy Markdown
Contributor Author

asr2003 commented Oct 15, 2024

It seems model.rs code moved to schema.rs :)

I will fix conflicts and push changes

@tusharmath tusharmath merged commit ec16495 into tailcallhq:main Oct 18, 2024
@asr2003 asr2003 deleted the test-workflow branch October 19, 2024 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unit tests for worker.rs

2 participants