GDX Testing

Classes to test libgdx

Лицензия

Лицензия

Harium Commercial License
Группа

Группа

com.harium.gdx
Идентификатор

Идентификатор

test
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

GDX Testing
Classes to test libgdx

Скачать test

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.harium.gdx/test/ -->
<dependency>
    <groupId>com.harium.gdx</groupId>
    <artifactId>test</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.harium.gdx/test/
implementation 'com.harium.gdx:test:1.0.0'
// https://jarcasting.com/artifacts/com.harium.gdx/test/
implementation ("com.harium.gdx:test:1.0.0")
'com.harium.gdx:test:jar:1.0.0'
<dependency org="com.harium.gdx" name="test" rev="1.0.0">
  <artifact name="test" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.harium.gdx', module='test', version='1.0.0')
)
libraryDependencies += "com.harium.gdx" % "test" % "1.0.0"
[com.harium.gdx/test "1.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

provided (1)

Идентификатор библиотеки Тип Версия
com.badlogicgames.gdx : gdx-freetype Необязательный jar [1.9.9,)

Модули Проекта

Данный проект не имеет модулей.

gdx-testing

This is a library to enable unit tests in libGDX projects which require testing with JUnit and Mockito.

Maven

<dependency>
    <groupId>com.harium.gdx</groupId>
    <artifactId>test</artifactId>
    <version>1.0.0</version>
    <scope>test</scope>
</dependency>

Gradle

testImplementation 'com.harium.gdx:test:1.0.0'

Configuration

Whenever you require a headless libGDX environment for your tests to pass, copy the tests/src/de/tomgrill/gdxtesting/GdxTestRunner.java file to your tests project and annotate your test class with:

@RunWith(GdxTestRunner.class)
public class MySuperTestClass {
	@Test
	public void bestTestInHistory() {
	
	}
}

Happy testing!

License

The gdx-testing project is licensed under the Apache 2 License, meaning you can use it free of charge, without strings attached in commercial and non-commercial projects.

Source & inspired by

http://shahmirj.com/blog/getting-junit-working-with-libgdx-in-gradle

http://badlogicgames.com/forum/viewtopic.php?f=17&t=1485

com.harium.gdx

Harium

Версии библиотеки

Версия
1.0.0