earl-report 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +37 -37
- data/VERSION +1 -1
- data/bin/earl-report +29 -1
- data/lib/earl_report.rb +208 -164
- data/spec/earl_report_spec.rb +293 -68
- data/spec/test-files/foaf.ttl +3 -0
- data/spec/test-files/results.html +98 -60
- data/spec/test-files/results.jsonld +72 -44
- data/spec/test-files/results.ttl +23 -13
- metadata +2 -2
data/spec/test-files/results.ttl
CHANGED
@@ -11,7 +11,15 @@
|
|
11
11
|
|
12
12
|
<> a earl:Software, doap:Project;
|
13
13
|
doap:homepage <>;
|
14
|
-
doap:name "Turtle
|
14
|
+
doap:name "Turtle";
|
15
|
+
dc:bibliographicCitation "[[TURTLE]]";
|
16
|
+
earl:assertions
|
17
|
+
<test-files/report-complete.ttl>;
|
18
|
+
earl:testSubjects (
|
19
|
+
<http://rubygems.org/gems/rdf-turtle>);
|
20
|
+
earl:tests (
|
21
|
+
<http://example/manifest.ttl#testeval00>
|
22
|
+
_:g70363621872700) .
|
15
23
|
#
|
16
24
|
# Subject Definitions
|
17
25
|
#
|
@@ -19,27 +27,29 @@
|
|
19
27
|
doap:name "RDF::Turtle";
|
20
28
|
doap:description """RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.""";
|
21
29
|
doap:programming-language "Ruby";
|
22
|
-
|
30
|
+
.
|
31
|
+
|
32
|
+
<http://rubygems.org/gems/rdf-turtle> doap:developer <http://greggkellogg.net/foaf#me> .
|
23
33
|
|
24
34
|
<http://greggkellogg.net/foaf#me> a foaf:Person;
|
35
|
+
foaf:homepage <http://greggkellogg.net/>;
|
25
36
|
foaf:name "Gregg Kellogg" .
|
26
37
|
|
38
|
+
|
27
39
|
#
|
28
40
|
# Test Case Definitions
|
29
41
|
#
|
30
42
|
<http://example/manifest.ttl#testeval00> a earl:TestCriterion, earl:TestCase;
|
31
43
|
dc:title "subm-test-00";
|
32
44
|
dc:description """Blank subject""";
|
33
|
-
mf:action <http://example/test-00.ttl>;
|
34
45
|
mf:result <http://example/test-00.out>;
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
#
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
earl:result [ a earl:TestResult; earl:outcome earl:passed] ] .
|
46
|
+
mf:action <http://example/test-00.ttl>;
|
47
|
+
earl:assertions (
|
48
|
+
[ a earl:Assertion;
|
49
|
+
earl:assertedBy <http://greggkellogg.net/foaf#me>;
|
50
|
+
earl:test <http://example/manifest.ttl#testeval00>;
|
51
|
+
earl:subject <http://rubygems.org/gems/rdf-turtle>;
|
52
|
+
earl:mode earl:automatic;
|
53
|
+
earl:result [ a earl:TestResult; earl:outcome earl:passed ]]
|
54
|
+
) .
|
45
55
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: earl-report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: linkeddata
|