Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Enable assertions in Tycho Surefire tests?

Ah, the demos.

Using this example:
http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-demo/itp01/tycho.demo.itp01.tests/pom.xml

I came up with this pom fragment, which works:

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-surefire-plugin</artifactId>
					<version>${tychoVersion}</version>
					<configuration>
						<argLine>-ea</argLine>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

Thanks!
-Thomas

On Mon, Feb 20, 2012 at 2:45 PM, Cristiano Gavião <cvgaviao@xxxxxxxxx> wrote:
> you can run any junit osgi test...  take a look at the examples that come
> with the tycho source...
>
> regards,
>
> Cristiano
>
>
> On 20/02/12 14:46, Thomas Smith wrote:
>>
>> Hi,
>>
>> I'm running some unit tests with the tycho-surefire-plugin 0.14.0, and
>> I'd like to enable Java assertions for the test run.  How can I do
>> that?  I couldn't google it up...
>>
>> Thanks!
>> -Thomas
>>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user



-- 
http://resc.smugmug.com/


Back to the top