[英]Creating Junit Test With IntelliJ
當我嘗試為我的項目中的某些類創建一個Junit測試時,當我點擊OK時沒有任何反應。 IntelliJ也沒有給我選擇目標文件夾的選項。 有什么建議么?
這很簡單。 只需右鍵單擊所需的文件夾 - >標記目錄為 - >測試源根目錄
現在對於任何代碼,只需右鍵單擊類 - >轉到 - >測試 - >創建新測試。
現在單擊“確定”,您將在已標記為“測試源根”的文件夾中創建測試。
[英]Run JUnit test with IntelliJ
[英]Unable to run JUnit test in IntelliJ
[英]Identical Content But JUnit Test Fails(IntelliJ)
[英]Intellij unable to run test in IDE - Junit
[英]Integrate JUnit 5 tests results with Intellij test report
[英]Run a single Junit Test in IntelliJ IDEA
[英]running a single scenario of a parametrized junit test in intellij
[英]JUnit test is successful in IntelliJ but failed in Maven
[英]JUnit test debuging hangs in IntelliJ IDEA
[英]Creating DRY Junit test objects
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.