Package Details: java-testng 7.10.2-1

Git Clone URL: https://aur.archlinux.org/java-testng.git (read-only, click to copy)
Package Base: java-testng
Description: A testing framework inspired by JUnit and NUnit
Upstream URL: https://testng.org
Licenses: Apache-2.0
Submitter: alucryd
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 24
Popularity: 0.000000
First Submitted: 2011-12-29 14:17 (UTC)
Last Updated: 2024-05-01 21:13 (UTC)

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

a.kudelin commented on 2020-12-12 17:31 (UTC)

@bartus, could you please try again to build the package in the clean environment? I suspect the problem was in a wrong Java version, now Java 8 is mandatory.

a.kudelin commented on 2020-12-12 14:42 (UTC)

@petronny, official guidelines don't mention that compatibility with devtools should be maintained as well as depends=() should take place in the package section. If I'm wrong please post proofs.

petronny commented on 2020-12-12 10:52 (UTC) (edited on 2020-12-12 10:53 (UTC) by petronny)

Also 1 test fails when building the package after move depends inside package() and it breaks the build.

testExclusionOfPassedConfigsInvolvingGroupsAtSuiteLevel

java.lang.AssertionError: expected [1] but found [0]
    at org.testng.Assert.fail(Assert.java:99)
    at org.testng.Assert.failNotEquals(Assert.java:1037)
    at org.testng.Assert.assertEqualsImpl(Assert.java:140)
    at org.testng.Assert.assertEquals(Assert.java:122)
    at org.testng.Assert.assertEquals(Assert.java:907)
    at org.testng.Assert.assertEquals(Assert.java:917)
    at test.failedreporter.FailedReporterTest.runAssertions(FailedReporterTest.java:124)
    at test.failedreporter.FailedReporterTest.testExclusionOfPassedConfigsInvolvingGroupsAtSuiteLevel(FailedReporterTest.java:86)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
    at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
    at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
    at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
    at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
    at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
    at java.util.ArrayList.forEach(ArrayList.java:1259)
    at org.testng.TestRunner.privateRun(TestRunner.java:764)
    at org.testng.TestRunner.run(TestRunner.java:585)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
    at org.testng.SuiteRunner.run(SuiteRunner.java:286)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
    at org.testng.TestNG.runSuites(TestNG.java:1069)
    at org.testng.TestNG.run(TestNG.java:1037)
    at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:141)
    at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:90)
    at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
    at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
    at com.sun.proxy.$Proxy2.stop(Unknown Source)
    at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:133)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
    at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
    at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
    at java.lang.Thread.run(Thread.java:748)

petronny commented on 2020-12-12 10:50 (UTC)

Please move depends=('java-runtime') inside package() like:

package() {
  depends=('java-runtime')
  ...
}

Or else it won't work with the official package tool, devtools.

bartus commented on 2020-12-12 10:46 (UTC) (edited on 2020-12-12 10:49 (UTC) by bartus)

Failed to build version 7.3.0, last working version 7.1.1 build log: https://drive.google.com/file/d/1Tcz-tHryHnvFACJyOXWryquUYXFM6lXU/view?usp=sharing

Looks like failed tests, could we have separate check() function if those tests are supposed to fail? (that way we could skip them with --nocheck)

luccacondratiuk commented on 2020-08-24 14:34 (UTC) (edited on 2020-08-24 15:02 (UTC) by luccacondratiuk)

gradle not working with Java 14... Need to change default java runtime to Java 8, at least in order to install it properly.

eolianoe commented on 2016-12-14 12:44 (UTC)

@Thah: fixed in 6.10-2 @MadPhysicist: this source easily provides .jar files that seems to be linked to the github of the author. If you have a more reliable way to create the jar files, I'll be happy to change the PKGBUILD

Thah commented on 2016-12-13 19:45 (UTC)

The sha256sum of the file downloaded from dl.bintray.com doesn't match the sha256sum in the PKGBUILD.

MadPhysicist commented on 2016-12-13 17:32 (UTC) (edited on 2016-12-13 17:33 (UTC) by MadPhysicist)

Just out of curiosity, what is https://dl.bintray.com? The testng page there appears to be owned and maintained by Cedric himself, but I have not seen any reference to it in any of the testng documentation.

MadPhysicist commented on 2016-09-23 02:36 (UTC)

Looks like one of your sha256sums is not up to date