- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们的项目都是由整个公司的主父级设置的。对于我正在处理的项目,我们有一个根 pom,它引用了它下面有许多模块的父级。尝试将 PITest 与这些模块中的任何一个单独使用,或在根模块中使用会导致没有测试运行。
λ lp-server-write mvn clean org.pitest:pitest-maven:mutationCoverage
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.company.platform.server:lp-server-write:jar:0.0.305-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ com.company.platform.server:lp-server-root:0.0.305-SNAPSHOT, /me/Documents/dev/code/server/pom.xml, line 69, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Platform Server :: App Write 0.0.305-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.company.thirdparty.generated.thing:thing-231:jar:2.3.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lp-server-write ---
[INFO] Deleting /me/Documents/dev/code/server/lp-server-write/target
[INFO]
[INFO] --- pitest-maven:1.2.0:mutationCoverage (default-cli) @ lp-server-write ---
[INFO] Found plugin : Default csv report plugin
[INFO] Found plugin : Default xml report plugin
[INFO] Found plugin : Default html report plugin
[INFO] Found plugin : Default limit mutations plugin
[INFO] Found plugin : Kotlin junk mutations filter
[INFO] Found shared classpath plugin : Default mutation engine
[INFO] Adding org.pitest:pitest to SUT classpath
[INFO] Mutating from /me/Documents/dev/code/server/lp-server-write/target/classes
4:52:46 PM PIT >> FINE : Running report with ReportOptions [targetClasses=[^com\.company\..*$], excludedMethods=[], excludedClasses=[^.*.*\..*IT$, ^.*.*\..*SpringBootTest$], codePaths=[/me/Documents/dev/code/server/lp-server-write/target/classes], reportDir=/me/Documents/dev/code/server/lp-server-write/target/pit-reports, historyInputLocation=null, historyOutputLocation=null, sourceDirs=[/me/Documents/dev/code/server/lp-server-write/src/main/java, /me/Documents/dev/code/server/lp-server-write/src/test/java], classPathElements=[/me/Documents/dev/code/server/lp-server-write/target/test-classes, /me/Documents/dev/code/server/lp-server-write/target/classes, /me/.m2/repository/com/company/platform/server/common/lp-server-common-test/0.0.305-SNAPSHOT/lp-server-common-test-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/common/integrationtests/common-integrationtest/0.0.20/common-integrationtest-0.0.20.jar, /me/.m2/repository/com/jayway/restassured/rest-assured/2.9.0/rest-assured-2.9.0.jar, /me/.m2/repository/org/codehaus/groovy/groovy/2.4.7/groovy-2.4.7.jar, /me/.m2/repository/org/codehaus/groovy/groovy-xml/2.4.7/groovy-xml-2.4.7.jar, /me/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar, /me/.m2/repository/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar, /me/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar, /me/.m2/repository/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar, /me/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, /me/.m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2.1/tagsoup-1.2.1.jar, /me/.m2/repository/com/jayway/restassured/json-path/2.9.0/json-path-2.9.0.jar, /me/.m2/repository/org/codehaus/groovy/groovy-json/2.4.7/groovy-json-2.4.7.jar, /me/.m2/repository/com/jayway/restassured/rest-assured-common/2.9.0/rest-assured-common-2.9.0.jar, /me/.m2/repository/com/jayway/restassured/xml-path/2.9.0/xml-path-2.9.0.jar, /me/.m2/repository/org/skyscreamer/jsonassert/1.3.0/jsonassert-1.3.0.jar, /me/.m2/repository/org/json/json/20140107/json-20140107.jar, /me/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar, /me/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar, /me/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar, /me/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar, /me/.m2/repository/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar, /me/.m2/repository/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar, /me/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.5/jackson-core-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.5/jackson-annotations-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.8.5/jackson-datatype-jsr310-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.8.5/jackson-dataformat-xml-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.8.5/jackson-module-jaxb-annotations-2.8.5.jar, /me/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar, /me/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar, /me/.m2/repository/org/projectlombok/lombok/1.16.12/lombok-1.16.12.jar, /me/.m2/repository/com/company/platform/server/decision/lp-server-decision-common/0.0.305-SNAPSHOT/lp-server-decision-common-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/platform/server/common/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/annotations/pt-annotation-processors/1.0.3/pt-annotation-processors-1.0.3.jar, /me/.m2/repository/com/company/annotations/pt-annotations/1.0.3/pt-annotations-1.0.3.jar, /me/.m2/repository/com/company/utils/lombok-test-robot/1.0.1/lombok-test-robot-1.0.1.jar, /me/.m2/repository/org/reflections/reflections/0.9.10/reflections-0.9.10.jar, /me/.m2/repository/com/google/code/findbugs/annotations/2.0.1/annotations-2.0.1.jar, /me/.m2/repository/com/datapublica/pg/hibernate-json/0.3/hibernate-json-0.3.jar, /me/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.8.5/jackson-module-parameter-names-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/module/jackson-module-kotlin/2.8.5/jackson-module-kotlin-2.8.5.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.0/kotlin-reflect-1.1.0.jar, /me/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.4/jaxb2-basics-0.6.4.jar, /me/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.4/jaxb2-basics-runtime-0.6.4.jar, /me/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.4/jaxb2-basics-tools-0.6.4.jar, /me/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar, /me/.m2/repository/com/google/code/javaparser/javaparser/1.0.8/javaparser-1.0.8.jar, /me/.m2/repository/org/mapstruct/mapstruct-jdk8/1.2.0-company/mapstruct-jdk8-1.2.0-company.jar, /me/.m2/repository/org/mapstruct/mapstruct-processor/1.2.0-company/mapstruct-processor-1.2.0-company.jar, /me/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar, /me/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar, /me/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar, /me/.m2/repository/org/axonframework/axon-spring/3.0.2/axon-spring-3.0.2.jar, /me/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar, /me/.m2/repository/org/joda/joda-money/0.11/joda-money-0.11.jar, /me/.m2/repository/org/postgresql/postgresql/9.4.1212.jre7/postgresql-9.4.1212.jre7.jar, /boot/spring-boot-starter-actuator/1.4.3.RELEASE/spring-boot-starter-actuator-1.4.3.RELEASE.jar, /boot/spring-boot-actuator/1.4.3.RELEASE/spring-boot-actuator-1.4.3.RELEASE.jar, /boot/spring-boot-starter-hateoas/1.4.3.RELEASE/spring-boot-starter-hateoas-1.4.3.RELEASE.jar, /hateoas/spring-hateoas/0.20.0.RELEASE/spring-hateoas-0.20.0.RELEASE.jar, /security/spring-security-core/4.1.4.RELEASE/spring-security-core-4.1.4.RELEASE.jar, /me/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, /me/.m2/repository/com/company/platform/server/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar, /spring-test/4.3.5.RELEASE/spring-test-4.3.5.RELEASE.jar, /spring-core/4.3.5.RELEASE/spring-core-4.3.5.RELEASE.jar, /me/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, /me/.m2/repository/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar, /me/.m2/repository/org/mockito/mockito-all/1.10.19/mockito-all-1.10.19.jar, /boot/spring-boot-test-autoconfigure/1.4.3.RELEASE/spring-boot-test-autoconfigure-1.4.3.RELEASE.jar, /boot/spring-boot-test/1.4.3.RELEASE/spring-boot-test-1.4.3.RELEASE.jar, /boot/spring-boot-autoconfigure/1.4.3.RELEASE/spring-boot-autoconfigure-1.4.3.RELEASE.jar, /me/.m2/repository/com/company/platform/server/read/lp-server-read/0.0.305-SNAPSHOT/lp-server-read-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-core/0.0.13/pt-lp-calculator-core-0.0.13.jar, /me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-common/0.0.13/pt-lp-calculator-common-0.0.13.jar, /spring-context/4.3.5.RELEASE/spring-context-4.3.5.RELEASE.jar, /me/.m2/repository/io/springfox/springfox-swagger2/2.6.1/springfox-swagger2-2.6.1.jar, /me/.m2/repository/io/swagger/swagger-annotations/1.5.10/swagger-annotations-1.5.10.jar, /me/.m2/repository/io/swagger/swagger-models/1.5.10/swagger-models-1.5.10.jar, /me/.m2/repository/io/springfox/springfox-spi/2.6.1/springfox-spi-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-core/2.6.1/springfox-core-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-schema/2.6.1/springfox-schema-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-swagger-common/2.6.1/springfox-swagger-common-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-spring-web/2.6.1/springfox-spring-web-2.6.1.jar, /me/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar, /me/.m2/repository/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar, /plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar, /plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar, /me/.m2/repository/org/mapstruct/mapstruct/1.0.0.Final/mapstruct-1.0.0.Final.jar, /boot/spring-boot-starter-data-jpa/1.4.3.RELEASE/spring-boot-starter-data-jpa-1.4.3.RELEASE.jar, /boot/spring-boot-starter-aop/1.4.3.RELEASE/spring-boot-starter-aop-1.4.3.RELEASE.jar, /me/.m2/repository/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar, /boot/spring-boot-starter-jdbc/1.4.3.RELEASE/spring-boot-starter-jdbc-1.4.3.RELEASE.jar, /me/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.6/tomcat-jdbc-8.5.6.jar, /me/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.6/tomcat-juli-8.5.6.jar, /spring-jdbc/4.3.5.RELEASE/spring-jdbc-4.3.5.RELEASE.jar, /me/.m2/repository/org/hibernate/hibernate-core/5.2.5.Final/hibernate-core-5.2.5.Final.jar, /me/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar, /me/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar, /me/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar, /jandex/2.0.3.Final/jandex-2.0.3.Final.jar, /me/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, /enterprise/cdi-api/1.1/cdi-api-1.1.jar, /el/el-api/2.2/el-api-2.2.jar, /spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.0.Beta1/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar, /annotation/jsr250-api/1.0/jsr250-api-1.0.jar, /inject/javax.inject/1/javax.inject-1.jar, /me/.m2/repository/org/hibernate/hibernate-entitymanager/5.2.5.Final/hibernate-entitymanager-5.2.5.Final.jar, /me/.m2/repository/net/bytebuddy/byte-buddy/1.5.4/byte-buddy-1.5.4.jar, /transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar, /data/spring-data-jpa/1.10.6.RELEASE/spring-data-jpa-1.10.6.RELEASE.jar, /data/spring-data-commons/1.12.6.RELEASE/spring-data-commons-1.12.6.RELEASE.jar, /spring-orm/4.3.5.RELEASE/spring-orm-4.3.5.RELEASE.jar, /me/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.22/jcl-over-slf4j-1.7.22.jar, /spring-aspects/4.3.5.RELEASE/spring-aspects-4.3.5.RELEASE.jar, /boot/spring-boot-starter-security/1.4.3.RELEASE/spring-boot-starter-security-1.4.3.RELEASE.jar, /spring-aop/4.3.5.RELEASE/spring-aop-4.3.5.RELEASE.jar, /security/spring-security-config/4.1.4.RELEASE/spring-security-config-4.1.4.RELEASE.jar, /security/spring-security-web/4.1.4.RELEASE/spring-security-web-4.1.4.RELEASE.jar, /me/.m2/repository/org/axonframework/axon-test/3.0.2/axon-test-3.0.2.jar, /me/.m2/repository/org/axonframework/axon-core/3.0.2/axon-core-3.0.2.jar, /me/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar, /me/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar, /boot/spring-boot-starter-web/1.4.3.RELEASE/spring-boot-starter-web-1.4.3.RELEASE.jar, /boot/spring-boot-starter/1.4.3.RELEASE/spring-boot-starter-1.4.3.RELEASE.jar, /boot/spring-boot/1.4.3.RELEASE/spring-boot-1.4.3.RELEASE.jar, /boot/spring-boot-starter-logging/1.4.3.RELEASE/spring-boot-starter-logging-1.4.3.RELEASE.jar, /me/.m2/repository/org/slf4j/jul-to-slf4j/1.7.22/jul-to-slf4j-1.7.22.jar, /me/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.22/log4j-over-slf4j-1.7.22.jar, /me/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar, /boot/spring-boot-starter-tomcat/1.4.3.RELEASE/spring-boot-starter-tomcat-1.4.3.RELEASE.jar, /me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.6/tomcat-embed-core-8.5.6.jar, /me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.6/tomcat-embed-el-8.5.6.jar, /me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.6/tomcat-embed-websocket-8.5.6.jar, /me/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar, /validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, /logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar, /me/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.5/jackson-databind-2.8.5.jar, /spring-web/4.3.5.RELEASE/spring-web-4.3.5.RELEASE.jar, /spring-beans/4.3.5.RELEASE/spring-beans-4.3.5.RELEASE.jar, /spring-webmvc/4.3.5.RELEASE/spring-webmvc-4.3.5.RELEASE.jar, /spring-expression/4.3.5.RELEASE/spring-expression-4.3.5.RELEASE.jar, /me/.m2/repository/com/company/platform/pt-lp-common/0.0.80/pt-lp-common-0.0.80.jar, /amqp/spring-rabbit/1.6.6.RELEASE/spring-rabbit-1.6.6.RELEASE.jar, /spring-messaging/4.3.5.RELEASE/spring-messaging-4.3.5.RELEASE.jar, /amqp/spring-amqp/1.6.6.RELEASE/spring-amqp-1.6.6.RELEASE.jar, /spring-tx/4.3.5.RELEASE/spring-tx-4.3.5.RELEASE.jar, /retry/spring-retry/1.1.5.RELEASE/spring-retry-1.1.5.RELEASE.jar, /me/.m2/repository/com/rabbitmq/http-client/1.0.0.RELEASE/http-client-1.0.0.RELEASE.jar, /me/.m2/repository/com/rabbitmq/amqp-client/3.6.5/amqp-client-3.6.5.jar, /me/.m2/repository/com/company/thirdparty/generated/thing/thing-231/2.3.1/thing-231-2.3.1.jar, /me/.m2/repository/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.1.0/kotlin-stdlib-1.1.0.jar, /me/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-test-junit/1.1.0/kotlin-test-junit-1.1.0.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-test/1.1.0/kotlin-test-1.1.0.jar, /me/.m2/repository/org/spockframework/spock-core/1.0-groovy-2.4/spock-core-1.0-groovy-2.4.jar, /me/.m2/repository/junit/junit/4.12/junit-4.12.jar, /me/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /me/.m2/repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar, /me/.m2/repository/ch/qos/logback/logback-core/1.1.8/logback-core-1.1.8.jar, /me/.m2/repository/org/slf4j/slf4j-api/1.7.22/slf4j-api-1.7.22.jar, /me/.m2/repository/org/pitest/pitest/1.2.0/pitest-1.2.0.jar], mutators=[], dependencyAnalysisMaxDistance=-1, mutateStaticInitializers=false, jvmArgs=[], numberOfThreads=1, timeoutFactor=1.25, timeoutConstant=3000, targetTests=[^com\.company\..*$], loggingClasses=[], maxMutationsPerClass=-1, verbose=true, failWhenNoMutations=true, outputs=[HTML], groupConfig=TestGroupConfig [excludedGroups=[], includedGroups=[]], mutationUnitSize=0, shouldCreateTimestampedReports=true, detectInlinedCode=true, exportLineCoverage=false, mutationThreshold=0, coverageThreshold=0, mutationEngine=gregor, javaExecutable=null, includeLaunchClasspath=true, properties={}, maxSurvivors=0, excludedRunners=[]]
4:52:46 PM PIT >> FINE : System class path is /me/Applications/ActiveVersions/Maven/boot/plexus-classworlds-2.5.2.jar
4:52:46 PM PIT >> FINE : Maximum available memory is 3641 mb
CP is :/me/.m2/repository/com/company/platform/server/common/lp-server-common-test/0.0.305-SNAPSHOT/lp-server-common-test-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/common/integrationtests/common-integrationtest/0.0.20/common-integrationtest-0.0.20.jar:/me/.m2/repository/com/jayway/restassured/rest-assured/2.9.0/rest-assured-2.9.0.jar:/me/.m2/repository/org/codehaus/groovy/groovy/2.4.7/groovy-2.4.7.jar:/me/.m2/repository/org/codehaus/groovy/groovy-xml/2.4.7/groovy-xml-2.4.7.jar:/me/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar:/me/.m2/repository/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar:/me/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/me/.m2/repository/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar:/me/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/me/.m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2.1/tagsoup-1.2.1.jar:/me/.m2/repository/com/jayway/restassured/json-path/2.9.0/json-path-2.9.0.jar:/me/.m2/repository/org/codehaus/groovy/groovy-json/2.4.7/groovy-json-2.4.7.jar:/me/.m2/repository/com/jayway/restassured/rest-assured-common/2.9.0/rest-assured-common-2.9.0.jar:/me/.m2/repository/com/jayway/restassured/xml-path/2.9.0/xml-path-2.9.0.jar:/me/.m2/repository/org/skyscreamer/jsonassert/1.3.0/jsonassert-1.3.0.jar:/me/.m2/repository/org/json/json/20140107/json-20140107.jar:/me/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar:/me/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar:/me/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar:/me/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/me/.m2/repository/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/me/.m2/repository/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar:/me/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.5/jackson-core-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.5/jackson-annotations-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.8.5/jackson-datatype-jsr310-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.8.5/jackson-dataformat-xml-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.8.5/jackson-module-jaxb-annotations-2.8.5.jar:/me/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/me/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/me/.m2/repository/org/projectlombok/lombok/1.16.12/lombok-1.16.12.jar:/me/.m2/repository/com/company/platform/server/decision/lp-server-decision-common/0.0.305-SNAPSHOT/lp-server-decision-common-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/platform/server/common/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/annotations/pt-annotation-processors/1.0.3/pt-annotation-processors-1.0.3.jar:/me/.m2/repository/com/company/annotations/pt-annotations/1.0.3/pt-annotations-1.0.3.jar:/me/.m2/repository/com/company/utils/lombok-test-robot/1.0.1/lombok-test-robot-1.0.1.jar:/me/.m2/repository/org/reflections/reflections/0.9.10/reflections-0.9.10.jar:/me/.m2/repository/com/google/code/findbugs/annotations/2.0.1/annotations-2.0.1.jar:/me/.m2/repository/com/company/platform/server/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/platform/server/read/lp-server-read/0.0.305-SNAPSHOT/lp-server-read-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-core/0.0.13/pt-lp-calculator-core-0.0.13.jar:/me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-common/0.0.13/pt-lp-calculator-common-0.0.13.jar:/spring-context/4.3.5.RELEASE/spring-context-4.3.5.RELEASE.jar:/me/.m2/repository/io/springfox/springfox-swagger2/2.6.1/springfox-swagger2-2.6.1.jar:/me/.m2/repository/io/swagger/swagger-annotations/1.5.10/swagger-annotations-1.5.10.jar:/me/.m2/repository/io/swagger/swagger-models/1.5.10/swagger-models-1.5.10.jar:/me/.m2/repository/io/springfox/springfox-spi/2.6.1/springfox-spi-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-core/2.6.1/springfox-core-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-schema/2.6.1/springfox-schema-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-swagger-common/2.6.1/springfox-swagger-common-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-spring-web/2.6.1/springfox-spring-web-2.6.1.jar:/me/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:/me/.m2/repository/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar:/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar:/plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar:/me/.m2/repository/org/mapstruct/mapstruct/1.0.0.Final/mapstruct-1.0.0.Final.jar:/boot/spring-boot-starter-data-jpa/1.4.3.RELEASE/spring-boot-starter-data-jpa-1.4.3.RELEASE.jar:/boot/spring-boot-starter-aop/1.4.3.RELEASE/spring-boot-starter-aop-1.4.3.RELEASE.jar:/me/.m2/repository/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar:/boot/spring-boot-starter-jdbc/1.4.3.RELEASE/spring-boot-starter-jdbc-1.4.3.RELEASE.jar:/me/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.6/tomcat-jdbc-8.5.6.jar:/me/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.6/tomcat-juli-8.5.6.jar:/spring-jdbc/4.3.5.RELEASE/spring-jdbc-4.3.5.RELEASE.jar:/me/.m2/repository/org/hibernate/hibernate-core/5.2.5.Final/hibernate-core-5.2.5.Final.jar:/me/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/me/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar:/me/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/jandex/2.0.3.Final/jandex-2.0.3.Final.jar:/me/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/enterprise/cdi-api/1.1/cdi-api-1.1.jar:/el/el-api/2.2/el-api-2.2.jar:/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.0.Beta1/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar:/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/inject/javax.inject/1/javax.inject-1.jar:/me/.m2/repository/org/hibernate/hibernate-entitymanager/5.2.5.Final/hibernate-entitymanager-5.2.5.Final.jar:/me/.m2/repository/net/bytebuddy/byte-buddy/1.5.4/byte-buddy-1.5.4.jar:/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar:/data/spring-data-jpa/1.10.6.RELEASE/spring-data-jpa-1.10.6.RELEASE.jar:/data/spring-data-commons/1.12.6.RELEASE/spring-data-commons-1.12.6.RELEASE.jar:/spring-orm/4.3.5.RELEASE/spring-orm-4.3.5.RELEASE.jar:/me/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.22/jcl-over-slf4j-1.7.22.jar:/spring-aspects/4.3.5.RELEASE/spring-aspects-4.3.5.RELEASE.jar:/boot/spring-boot-starter-security/1.4.3.RELEASE/spring-boot-starter-security-1.4.3.RELEASE.jar:/spring-aop/4.3.5.RELEASE/spring-aop-4.3.5.RELEASE.jar:/security/spring-security-config/4.1.4.RELEASE/spring-security-config-4.1.4.RELEASE.jar:/security/spring-security-web/4.1.4.RELEASE/spring-security-web-4.1.4.RELEASE.jar:/me/.m2/repository/org/axonframework/axon-test/3.0.2/axon-test-3.0.2.jar:/me/.m2/repository/org/axonframework/axon-core/3.0.2/axon-core-3.0.2.jar:/me/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar:/me/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar:/boot/spring-boot-starter-web/1.4.3.RELEASE/spring-boot-starter-web-1.4.3.RELEASE.jar:/boot/spring-boot-starter/1.4.3.RELEASE/spring-boot-starter-1.4.3.RELEASE.jar:/boot/spring-boot/1.4.3.RELEASE/spring-boot-1.4.3.RELEASE.jar:/boot/spring-boot-starter-logging/1.4.3.RELEASE/spring-boot-starter-logging-1.4.3.RELEASE.jar:/me/.m2/repository/org/slf4j/jul-to-slf4j/1.7.22/jul-to-slf4j-1.7.22.jar:/me/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.22/log4j-over-slf4j-1.7.22.jar:/me/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/boot/spring-boot-starter-tomcat/1.4.3.RELEASE/spring-boot-starter-tomcat-1.4.3.RELEASE.jar:/me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.6/tomcat-embed-core-8.5.6.jar:/me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.6/tomcat-embed-el-8.5.6.jar:/me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.6/tomcat-embed-websocket-8.5.6.jar:/me/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar:/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/me/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/me/.m2/repository/org/pitest/pitest/1.2.0/pitest-1.2.0.jar
4:52:46 PM PIT >> INFO : MINION : objc[28617]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/bin/java (0x10d7944c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10f7e94
4:52:46 PM PIT >> INFO : MINION : e0). One of the two will be used. Which one is undefined.
4:52:46 PM PIT >> FINE : MINION : Installing PIT agent
4:52:46 PM PIT >> INFO : Sending 0 test classes to minion
4:52:46 PM PIT >> INFO : Sent tests to minion
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : Checking environment
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> FINE : Expecting 0 tests classes from parent
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> FINE : Tests classes received
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : Found 0 tests
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : Dependency analysis reduced number of potential tests by 0
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : 0 tests received
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> FINE : Running 0 units
4:52:47 PM PIT >> FINE : Coverage generator Minion exited ok
4:52:47 PM PIT >> INFO : Calculated coverage in 0 seconds.
4:52:47 PM PIT >> FINE : Used memory after coverage calculation 47 mb
4:52:47 PM PIT >> FINE : Free Memory after coverage calculation 356 mb
4:52:47 PM PIT >> INFO : Created 0 mutation test units
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.113 s
[INFO] Finished at: 2017-03-31T16:52:47-06:00
[INFO] Final Memory: 32M/404M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.pitest:pitest-maven:1.2.0:mutationCoverage (default-cli) on project lp-server-write: Execution default-cli of goal org.pitest:pitest-maven:1.2.0:mutationCoverage failed: No mutations found. This probably means there is an issue with either the supplied classpath or filters.
[ERROR] See http://pitest.org for more details.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
查看详细输出,您可以看到 PITest 报告选项包括我的目录作为位置,但是在类路径详细输出中,没有对我的目标目录的引用。我不知道这是否是它找不到我的测试的原因,但绝对不是配置问题。我的 maven 配置中有尽可能宽的参数 <targetClasses>com.company.*</targetClasses>
和 <targetTests>com.company.*</targetTests>
最佳答案
显然,我只需要从我的 Maven 存储库中删除 pitest
。它击退了 jar 并且起作用了。它似乎一直保留着设置,即使我从我的 poms 中完全删除了 PITest。
编辑:显然我是个白痴。我有 mvn clean org.pitest:pitest-maven:mutationCoverage
这当然会在尝试查找类之前删除我的目标目录。
关于PITest 找不到测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43151078/
我获得了一些源代码示例,我想测试一些功能。不幸的是,我在执行程序时遇到问题: 11:41:31 [linqus@ottsrvafq1 example]$ javac -g test/test.jav
我想测试ggplot生成的两个图是否相同。一种选择是在绘图对象上使用all.equal,但我宁愿进行更艰巨的测试以确保它们相同,这似乎是identical()为我提供的东西。 但是,当我测试使用相同d
我确实使用 JUnit5 执行我的 Maven 测试,其中所有测试类都有 @ExtendWith({ProcessExtension.class}) 注释。如果是这种情况,此扩展必须根据特殊逻辑使测试
在开始使用 Node.js 开发有用的东西之前,您的流程是什么?您是否在 VowJS、Expresso 上创建测试?你使用 Selenium 测试吗?什么时候? 我有兴趣获得一个很好的工作流程来开发我
这个问题已经有答案了: What is a NullPointerException, and how do I fix it? (12 个回答) 已关闭 3 年前。 基于示例here ,我尝试为我的
我正在考虑测试一些 Vue.js 组件,作为 Laravel 应用程序的一部分。所以,我有一个在 Blade 模板中使用并生成 GET 的组件。在 mounted 期间请求生命周期钩子(Hook)。假
考虑以下程序: #include struct Test { int a; }; int main() { Test t=Test(); std::cout<
我目前的立场是:如果我使用 web 测试(在我的例子中可能是通过 VS.NET'08 测试工具和 WatiN)以及代码覆盖率和广泛的数据来彻底测试我的 ASP.NET 应用程序,我应该不需要编写单独的
我正在使用 C#、.NET 4.7 我有 3 个字符串,即。 [test.1, test.10, test.2] 我需要对它们进行排序以获得: test.1 test.2 test.10 我可能会得到
我有一个 ID 为“rv_list”的 RecyclerView。单击任何 RecyclerView 项目时,每个项目内都有一个可见的 id 为“star”的 View 。 我想用 expresso
我正在使用 Jest 和模拟器测试 Firebase 函数,尽管这些测试可能来自竞争条件。所谓 flakey,我的意思是有时它们会通过,有时不会,即使在同一台机器上也是如此。 测试和函数是用 Type
我在测试我与 typeahead.js ( https://github.com/angular-ui/bootstrap/blob/master/src/typeahead/typeahead.js
我正在尝试使用 Teamcity 自动运行测试,但似乎当代理编译项目时,它没有正确完成,因为当我运行运行测试之类的命令时,我收到以下错误: fatal error: 'Pushwoosh/PushNo
这是我第一次玩 cucumber ,还创建了一个测试和 API 的套件。我的问题是在测试 API 时是否需要运行它? 例如我脑子里有这个, 启动 express 服务器作为后台任务 然后当它启动时(我
我有我的主要应用程序项目,然后是我的测试的第二个项目。将所有类型的测试存储在该测试项目中是一种好的做法,还是应该将一些测试驻留在主应用程序项目中? 我应该在我的主项目中保留 POJO JUnit(测试
我正在努力弄清楚如何实现这个计数。模型是用户、测试、等级 用户 has_many 测试,测试 has_many 成绩。 每个等级都有一个计算分数(strong_pass、pass、fail、stron
我正在尝试测试一些涉及 OkHttp3 的下载代码,但不幸失败了。目标:测试 下载图像文件并验证其是否有效。平台:安卓。此代码可在生产环境中运行,但测试代码没有任何意义。 产品代码 class Fil
当我想为 iOS 运行 UI 测试时,我收到以下消息: SetUp : System.Exception : Unable to determine simulator version for X 堆
我正在使用 Firebase Remote Config 在 iOS 上设置 A/B 测试。 一切都已设置完毕,我正在 iOS 应用程序中读取服务器端默认值。 但是在多个模拟器上尝试,它们都读取了默认
[已编辑]:我已经用 promise 方式更改了我的代码。 我正在写 React with this starter 由 facebook 创建,我是测试方面的新手。 现在我有一个关于图像的组件,它有
我是一名优秀的程序员,十分优秀!