-
Notifications
You must be signed in to change notification settings - Fork 4
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
also write file that tyche needs to differentiate between the same te… #29
Conversation
…st run at differnt times. specify default directory name and files.
Thanks |
@hgoldstein95 would you be able to add the above location to Tyche? |
@pppls @hgoldstein95 Should the location be by the instead test dll? I'm worried trying to get from the test dll to the project directory instead is a bit buggy. |
Not sure. To be clear, what I meant was that Tyche probably needs to update their vscode settings.json to: {
"editor.autoSurround": "never",
"editor.autoClosingBrackets": "never",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"files.autoSave": "afterDelay",
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell",
"args": ["-ExecutionPolicy", "Bypass"]
}
},
"terminal.integrated.defaultProfile.windows": "PowerShell",
"git.enableSmartCommit": true,
"git.confirmSync": false,
"svelte.enable-ts-plugin": true,
"tyche.observationGlobs": [
"**/.cscheck/observed/*.jsonl", <-- NEW
"**/.hypothesis/observed/*.jsonl",
"**/.quickcheck/observations/*.jsonl"
],
} But I'm not sure if that's all there is to it. |
That looks relative to the dll? Maybe it should just look for @pppls @hgoldstein95 Does Tyche work with tests running in parallel? I'm just considering if it can globally be turned on by config or if there is no need. |
No, I completely forgot to mention that yesterday. The usage of the Channel ensures that testcases will be written sequentially to the "2024-10-19_testcases.jsonl" file within the test being run. But running two separate tests in parallel that both write to this file will very likely result in race conditions. |
Tyche just reads updates to the provided file, so if the tests were synchronized to ensure that the actual As for whether Tyche should be looking for By default I'll add |
The directory is relative to the VSCode workspace, by the way. Not the test binary. |
…st run at differnt times.
specify default directory name and files.
Name of file containing testcases is {date:yyyy-M-dd}_testcases.jsonl. So "2024-10-19_testcases.jsonl".
Name of file containing testinfo is {date:yyyy-M-dd}_testinfo.jsonl. So "2024-10-19_testinfo.jsonl".
Located in ".cscheck\observed" directory, which is generated wherever the test is run.
I also verified that the test cases are generated in realtime by building the nuget package and copying the tests I write in a separate project.