Comments (8)
Note that you should be able to run tests using JUnit plugin which has this fancy UI.
from intellij-pants-plugin.
Yes, but to do that, IntelliJ then needs to re-compile everything, which is slower and less incremental than letting pants compile and run the tests.
from intellij-pants-plugin.
The plugin compiles using Pants!
from intellij-pants-plugin.
Ah, ok, so maybe we should then always use the junit mode for running tests? Why even have the 'pants test' option? Does it do anything differently? Maybe not having the option removes confusion?
from intellij-pants-plugin.
Unfortunately in our enormous code base we've seen cases when JUnit didn't work. This run configuration producers were added for parity with command line. But Pants Run Configuration is not only about tests. You can configure them to run any pants command and for test and run goals the plugin will automatically modify them to be able to debug tests/running app.
from intellij-pants-plugin.
well, so it looks like running the junit test mode does indeed use pants, but seems to try to compile the entire project, instead of just the dependencies needed for the test at hand. this alone is a huge reason why that mode is not good enough (as opposed to running just pants test on the selected files/packages)
from intellij-pants-plugin.
work in progress https://rbcommons.com/s/twitter/r/3493/ will address this issue, at least to the extent of running junit test.
from intellij-pants-plugin.
from intellij-pants-plugin.
Related Issues (20)
- master CI broken
- intellij 2020.1 support HOT 1
- use .python-version on project import
- intellij plugin uses --target-spec-file which was removed HOT 2
- import failed for Pants 1.25.0 when global python is not equal to local HOT 2
- Can't run pants on Mac with IntelliJ 2020.1.1
- No target roots found in build graph HOT 3
- Plugin incompatible with Intellij 2020.2 HOT 13
- "Rerun failed tests" for Scala crashes
- Detect and use Python virtual environment HOT 1
- Pants and Intellij 2020.3 HOT 6
- Travis CI is broken
- Propagate scalac plugin to IntelliJ module
- Incorrect module sources path HOT 1
- Import Project Failure, InvalidLocaleError: Your system's preferred encoding is `US-ASCII`, but Pants requires `UTF-8`
- Update for IntelliJ 2021.1 HOT 6
- After the system python version update to 3.9, I get "No valid Python interpreter found" [PANTS 1.30. IDEA 2020.2/2020.3] HOT 2
- Can't find Scala SDK for org.scala-lang:scala-library:2.13.5
- Cleanup scripts
- Investigate long runninf t
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-pants-plugin.