Reductio

Reductio

Infobox_Software
name = ℝ∊dμcti∅



caption =
developer = Tony Morris
latest_release_version = 2.2
latest_release_date =
operating_system = JVM
genre = Software testing
license = BSD-style
website = [http://reductiotest.org/] |

Reductio is open source software written using the Java Programming Language from an idea that originated in a research paper called "QuickCheck: A Lightweight Tool for Random Testing of Haskell Programs" [QuickCheck: A Lightweight Tool for Random Testing of Haskell Programs [http://www.cs.chalmers.se/~koen/pubs/icfp00-quickcheck.ps] ] . Reductio and QuickCheck utilise a testing technique called Automated Specification-based Testing.

The primary objective of Reductio is to make testing as rigorous as possible, while alleviating developer effort through automation of many common testing tasks. Reductio includes usage examples that demonstrate how this objective has been met using both traditional Java 1.5 and Java 7 BGGA syntax as well as Scala programming language examples [
* [http://reductiotest.org/examples/1.5 Java 1.5 examples]
* [http://reductiotest.org/examples/1.5 Java BGGA examples]
* [http://reductiotest.org/examples/scala Scala examples]
] .

Example

The following example uses Java 7 BGGA syntax to execute 100 unit tests on java.util.LinkedList. It asserts that when a list (x) is appended to another list (y), then the size() of the resulting list (xy) is equivalent to the sum of the size() of the two original lists.

Property p = property(arbLinkedList(arbInteger), arbLinkedList(arbInteger), { LinkedList x, LinkedList y => prop(append(x, y).size() = x.size() + y.size()) });

Citations and footnotes

External links

* [http://reductiotest.org/ Reductio website]
* [http://reductiotest.org/manual Reductio User Manual]
* [http://wiki.workingmouse.com/index.php/Reductio_EqualsHashCode Reductio RequalsHashCode]
* [http://wiki.workingmouse.com/index.php/A_Case_for_Automated_Testing A Case for Automated Testing]
* [http://wiki.workingmouse.com/index.php/Tests_As_Documentation Tests As Documentation]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • reductio — noun (reduction to the absurd) a disproof by showing that the consequences of the proposition are absurd; or a proof of a proposition by showing that its negation leads to a contradiction • Syn: ↑reductio ad absurdum • Hypernyms: ↑disproof,… …   Useful english dictionary

  • Reductio ad absurdum — (Latin for reduction to the absurd ), also known as an apagogical argument, reductio ad impossibile, or proof by contradiction, is a type of logical argument where one assumes a claim for the sake of argument and derives an absurd or ridiculous… …   Wikipedia

  • Reductio ad Hitlerum — Reductio ad Hitlerum, also argumentum ad Hitlerum, (Latin for reduction to and argument to and dog Latin for Hitler respectively) is an ad hominem or ad misericordiam argument whereby an opponent s view is compared to a view that would be held by …   Wikipedia

  • Reductio ad hitlerum — est une expression ironique désignant, sous forme de fausse locution latine, la disqualification des arguments d un adversaire par leur association à Adolf Hitler ou plus généralement à un autre personnage honni du passé. La reduction ad hitlerum …   Wikipédia en Français

  • reductio ad absurdum — index counterargument Burton s Legal Thesaurus. William C. Burton. 2006 reductio ad absurdum …   Law dictionary

  • Reductio ad Hitlerum — est une expression ironique désignant, sous forme de locution latine, la disqualification des arguments d un adversaire par leur association à Adolf Hitler ou plus généralement à un autre personnage honni du passé. La reductio ad hitlerum… …   Wikipédia en Français

  • Reductio ad Hitlerum — Reductio/argumentum ad Hitlerum/Nazium («сведение/апелляция к Гитлеру/нацистам») псевдолатинское выражение, используемое для обозначения современной логической уловки. Термин reductio ad Hitlerum был предложен специалистом по научной этике… …   Википедия

  • Reductio ad absurdum —         (лат.) сведение к нелепости. Приём опровержения. Философский энциклопедический словарь. М.: Советская энциклопедия. Гл. редакция: Л. Ф. Ильичёв, П. Н. Федосеев, С. М. Ковалёв, В. Г. Панов. 1983 …   Философская энциклопедия

  • Reductio ad impossible — (лат.) сведение к невозможности. Прием опровержения …   Философская энциклопедия

  • Reductio ad impossibile —         (лат.) сведение к невозможности. Приём опровержения. Философский энциклопедический словарь. М.: Советская энциклопедия. Гл. редакция: Л. Ф. Ильичёв, П. Н. Федосеев, С. М. Ковалёв, В. Г. Панов. 1983 …   Философская энциклопедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”