Skip to content

Commit

Permalink
feat: update testng7 to 7.5
Browse files Browse the repository at this point in the history
testing framework for Java

Issue: deepin-community/sig-deepin-sysdev-team#547
Log: update repo
  • Loading branch information
xzl01 authored and Zeno-sole committed Apr 8, 2024
1 parent 9429d55 commit f582add
Show file tree
Hide file tree
Showing 2,366 changed files with 134,112 additions and 38 deletions.
44 changes: 44 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
root = true

[*]
max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
indent_style = space

[{*.sh,gradlew}]
end_of_line = lf

[{*.bat,*.cmd}]
end_of_line = crlf

[*.md]
# Trailing space means "paragraph continues" in markdown
trim_trailing_whitespace = false

[*.java]
indent_size = 2
ij_continuation_indent_size = 4
# Doc: https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0
# $ means "static"
ij_java_wrap_long_lines = true
ij_java_wrap_comments = true
ij_java_imports_layout = $*,|,*
ij_java_use_single_class_imports = true
# Below does not seem to work as of 2021.1.1 even though
# https://youtrack.jetbrains.com/issue/IDEA-225733 is resolved
wildcard_import_limit = 999
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_java_class_count_to_use_import_on_demand = 999
ij_java_names_count_to_use_import_on_demand = 999

[*.js]
indent_size = 2

[*.xml]
indent_size = 2

[{*.yml,*.yaml}]
indent_size = 2
13 changes: 13 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Abraham Lin <[email protected]> <[email protected]>
Cédric Beust <[email protected]> <cbeust@1a8b0fc8-9519-0410-aeec-afd8fd7729cf>
Cédric Beust <[email protected]> <[email protected]>
Cédric Beust <[email protected]> <[email protected]>
Cédric Beust <[email protected]> <[email protected]>
Cédric Beust <[email protected]> <[email protected]>
Cédric Beust <[email protected]> <[email protected]>
Cédric Beust <[email protected]> <[email protected]>
Jose Dillet <[email protected]> <jdillet@ada>
Julien Herr <[email protected]> <[email protected]>
Konstantin Savin <[email protected]>
Tim wu <[email protected]>
Tomás Pollak <[email protected]>
110 changes: 110 additions & 0 deletions ANNOUNCEMENT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
javalobby.org
testdriven.com
opensourcetesting.org
https://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=68
java.net
comp.lang.java.programmer

==========

The TestNG team is happy to announce the immediate availability of TestNG 4.5.

This release contains a lot of bug fixes and a few new features. It also
includes the first phase of Distributed TestNG, a work in progress designed
to transparently distribute tests on many machines and collect their results.

Announcement:

https://beust.com/weblog/archives/000361.html

Details on Distributed TestNG:

https://beust.com/weblog/archives/000362.html


==========

The TestNG team is happy to announce the immediate availability of TestNG 4.0, with a lot of improvements and new features.

The announcement, along with a few examples and summary of the new features, can be found here:

https://tinyurl.com/dxlbh

--
C�dric
https://testng.org

================

Announcing TestNG 2.3

The TestNG team is happy to announce the availability of TestNG 2.3.

The version is available at https://beust.com/testng as well as the new documentation, which has been considerably improved (highlighted code snippets, detailed DTD, ant task and description of all the new features).

What's new:

* beforeSuite, afterSuite, beforeTest, afterTest
* Revamped ant task with haltonfailure and other helpful flags
* Better stack traces and improved level control for verbosity
* Better syntax for including and excluding methods in testng.xml
* Test classes can be invoked on the command line
* ... and many bug fixes.

For Eclipse users, a new version (1.1.1) of the Eclipse plug-in that includes this new TestNG version is available on the remote update site or for direct download.

Also, TestNG has joined OpenSymphony (big thanks to Patrick and Hani for setting this up). As a consequence of this move, there is now a TestNG users forum as well as a Wiki and JIRA for issue tracking.

The users mailing-list has been moved to Google Groups and is connected to the forum, so you only need to subscribe to one.

Try it and let us know what you think!

===

I am happy to announce the availability of TestNG 2.1 (https://beust.com/testng).

TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use, such as:

* JSR 175 Annotations (JDK 1.4 is also supported with JavaDoc annotations).
* Flexible test configuration.
* Default JDK functions for runtime and logging (no dependencies).
* Powerful execution model (no more TestSuite).
* Supports dependent methods.

Some of the new features in this version include:

* invocationCount and successPercentage, which I described in a previous entry (https://beust.com/weblog/archives/000236.html), and which allow you to invoke a test method a certain number of times while allowing some of these invocations to fail. If the number of failures is under a certain threshold, the test is still considered a success.

* timeOut is now applicable to all test methods. Whether you are running your tests in parallel or not, you can specify a time-out for your test method and if it fails to complete within the given amount of time, TestNG will mark it as a failure.

* dependsOnMethods was the most requested feature. You can now specify dependencies on a method-based basis (no need to specify a group if your dependency graph is simple). You can even mix dependsOnMethods and dependsOnGroups.

* ... and of course, numerous bug fixes and other additions.

A special thanks to Alexandru Popescu who has pulled all-nighters to make this release happen!

We have an exciting list of new features lined up for our next version, among which a plug-in API, but in the meantime, enjoy TestNG 2.1.

======

Announcing TestNG for Eclipse

The TestNG team is happy to announce the first release of the TestNG plug-in for Eclipse.

https://beust.com/testng

This first release covers the basic functionalities of TestNG, among which:

* Multiple ways to launch tests (from a method, from a class, groups or an entire suite).
* Convenient report view that lets you directly jump to failed tests.

A more detailed overview can be found here:

https://beust.com/weblog/archives/000261.html

and the documentation and snapshots here:

https://beust.com/testng/main.html#eclipse

--
Cedric
Loading

0 comments on commit f582add

Please sign in to comment.