How can I watch java junit test amoung relative java file #363
Unanswered
GaryChung34
asked this question in
Q&A
Replies: 1 comment
-
You need to add a These symbols can be anything but it's recommended to use things like imports which will link to other files and build a dependency tree of files which once they are written, the dependent tests will re-run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
greeting, my problem is trying to use watch.toggle a test java file which is testing a function of one of my class. However, when I change and save this class file. no test run is triggle. wonder why?
For more info, after i read the doc of neotest.watch, i see that watching the relative file is dependent of LSP client. some config can be made in the watch consumer. can I config the watch consumer to watch my project directory of re-run my test? where alse can i find more information about the watch config? thanks.
i am using:
here is my neotest config:
![image](https://private-user-images.githubusercontent.com/87843133/304810486-d26d4f95-9935-48f2-91c4-5f408e2a69bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3OTE5NzUsIm5iZiI6MTcyMDc5MTY3NSwicGF0aCI6Ii84Nzg0MzEzMy8zMDQ4MTA0ODYtZDI2ZDRmOTUtOTkzNS00OGYyLTkxYzQtNWY0MDhlMmE2OWJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEyVDEzNDExNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyZGZhN2UzZDU2NzI0ZGM2MDUyMmQzZGQxNjkyMTY4MDM2ZjY0Yzg2NjhhZTMyOWMyYTJmMTNlOTBhNGExNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.l4duajvmWHTZtJUf_c9MTFUc6CT6xR5Jx9LpYR9FnEs)
Beta Was this translation helpful? Give feedback.
All reactions