This HTML5 document contains 34 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

Namespace Prefixes

PrefixIRI
dctermshttp://purl.org/dc/terms/
dbohttp://dbpedia.org/ontology/
foafhttp://xmlns.com/foaf/0.1/
n7https://global.dbpedia.org/id/
dbpedia-ruhttp://ru.dbpedia.org/resource/
dbthttp://dbpedia.org/resource/Template:
rdfshttp://www.w3.org/2000/01/rdf-schema#
freebasehttp://rdf.freebase.com/ns/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
owlhttp://www.w3.org/2002/07/owl#
wikipedia-enhttp://en.wikipedia.org/wiki/
dbchttp://dbpedia.org/resource/Category:
dbphttp://dbpedia.org/property/
provhttp://www.w3.org/ns/prov#
xsdhhttp://www.w3.org/2001/XMLSchema#
n18http://www.martinfowler.com/bliki/
goldhttp://purl.org/linguistics/gold/
wikidatahttp://www.wikidata.org/entity/
dbrhttp://dbpedia.org/resource/

Statements

Subject Item
dbr:Test-driven_development
dbo:wikiPageWikiLink
dbr:Self-testing_code
Subject Item
dbr:Self-testing_code
rdf:type
dbo:Software
rdfs:label
Self-testing code Самотестирующийся код
rdfs:comment
Self-testing code is software that incorporates built-in tests (see test-first development). In Java, to execute a unit test from the command line, a class can have methods like the following. // Executing main runs the unit test. public static void main(String[] args) { test;}static void test { assert foo == bar;} To invoke a full system test, a class can incorporate a method call. public static void main(String[] args) { test; TestSuite.test; // invokes full system test} Самотестирующийся код (от англ. Self-testing code) — программное обеспечение, включающее в себя встроенные тесты (смотри Разработка через тестирование). В языке Java, для выполнения модульных тестов из командной строки класс может иметь методы наподобие следующих: // Выполнение main запускает тест модуля. public static void main(String[] args) { test;}static void test { assert foo == bar;} Для вызова полного системного теста класс может содержать вызов метода: public static void main(String[] args) { test; TestSuite.test; // вызов полного системного теста}
dcterms:subject
dbc:Articles_with_example_Java_code dbc:Unit_testing
dbo:wikiPageID
9403814
dbo:wikiPageRevisionID
1123511599
dbo:wikiPageWikiLink
dbr:Unit_test dbr:Java_(programming) dbc:Articles_with_example_Java_code dbc:Unit_testing dbr:Extreme_programming dbr:Command_line dbr:Test-first_development dbr:Class_(computer_science) dbr:System_test dbr:Software_development
dbo:wikiPageExternalLink
n18:SelfTestingCode.html
owl:sameAs
n7:45epA freebase:m.0287fws dbpedia-ru:Самотестирующийся_код wikidata:Q4406907
dbp:wikiPageUsesTemplate
dbt:Unreferenced dbt:Soft-eng-stub
dbo:abstract
Self-testing code is software that incorporates built-in tests (see test-first development). In Java, to execute a unit test from the command line, a class can have methods like the following. // Executing main runs the unit test. public static void main(String[] args) { test;}static void test { assert foo == bar;} To invoke a full system test, a class can incorporate a method call. public static void main(String[] args) { test; TestSuite.test; // invokes full system test} In addition, Java has some Jupiter API libraries for self-testing code. assert can be used in various ways such as assert equals, which checks if the given variable is equal to the value given. @Testvoid checkplayer { Board board = new Board(10); board.addplayer(1); int check = board.getCurrentPlayer(1); assertEquals(1, check); } Самотестирующийся код (от англ. Self-testing code) — программное обеспечение, включающее в себя встроенные тесты (смотри Разработка через тестирование). В языке Java, для выполнения модульных тестов из командной строки класс может иметь методы наподобие следующих: // Выполнение main запускает тест модуля. public static void main(String[] args) { test;}static void test { assert foo == bar;} Для вызова полного системного теста класс может содержать вызов метода: public static void main(String[] args) { test; TestSuite.test; // вызов полного системного теста}
gold:hypernym
dbr:Software
prov:wasDerivedFrom
wikipedia-en:Self-testing_code?oldid=1123511599&ns=0
dbo:wikiPageLength
1465
foaf:isPrimaryTopicOf
wikipedia-en:Self-testing_code
Subject Item
wikipedia-en:Self-testing_code
foaf:primaryTopic
dbr:Self-testing_code