Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Replace spec reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
redlibrarian committed Apr 16, 2015
1 parent 177dc50 commit 5b23e25
Show file tree
Hide file tree
Showing 28 changed files with 53 additions and 373 deletions.
7 changes: 1 addition & 6 deletions lib/tasks/spec.rake
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ REPORT_PATH = "spec/reports"

RSpec::Core::RakeTask.new(:spec)

task :setup do
rm_rf REPORT_PATH
mkdir_p REPORT_PATH
end

task :spec => [:setup, 'ci:setup:rspec']
task :spec => 'ci:setup:rspec'


Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Batch Ingest Process when it is provided with a collection of files in a directory" tests="1" time="0.27638253" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="Batch Ingest Process when it is provided with a collection of files in a directory should process and ingest every record in the directory" time="0.276227226">
<testsuite name="Batch Ingest Process when it is provided with a collection of files in a directory" tests="1" time="0.239442344" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:52-06:00">
<testcase name="Batch Ingest Process when it is provided with a collection of files in a directory should process and ingest every record in the directory" time="0.239273755">
</testcase>
</testsuite>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Batch Ingest Process when it is provided with a collection of records in a single file" tests="1" time="0.226701052" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="Batch Ingest Process when it is provided with a collection of records in a single file should process and ingest every record in the file" time="0.226557537">
<testsuite name="Batch Ingest Process when it is provided with a collection of records in a single file" tests="1" time="0.231060795" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:52-06:00">
<testcase name="Batch Ingest Process when it is provided with a collection of records in a single file should process and ingest every record in the file" time="0.230916527">
</testcase>
</testsuite>
2 changes: 1 addition & 1 deletion spec/reports/SPEC-Batch-Ingest-Process.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Batch Ingest Process" tests="0" time="4.6053e-05" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testsuite name="Batch Ingest Process" tests="0" time="5.9786e-05" skipped="0" timestamp="2015-04-16T15:40:52-06:00">
</testsuite>
18 changes: 0 additions & 18 deletions spec/reports/SPEC-BentoController.xml

This file was deleted.

156 changes: 0 additions & 156 deletions spec/reports/SPEC-CatalogController.xml

This file was deleted.

8 changes: 4 additions & 4 deletions spec/reports/SPEC-Database.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Database" tests="3" time="0.003187743" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:12-06:00">
<testcase name="Database should parse a single database record into a database object" time="0.000863829">
<testsuite name="Database" tests="3" time="0.004631729" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:52-06:00">
<testcase name="Database should parse a single database record into a database object" time="0.001964333">
</testcase>
<testcase name="Database should parse a database CSV object into a Ruby object" time="0.000743001">
<testcase name="Database should parse a database CSV object into a Ruby object" time="0.000861736">
</testcase>
<testcase name="Database should return a basic xml represenation" time="0.001342796">
<testcase name="Database should return a basic xml represenation" time="0.001251449">
</testcase>
</testsuite>
8 changes: 4 additions & 4 deletions spec/reports/SPEC-DatabaseVocabulary.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="DatabaseVocabulary" tests="3" time="0.498171847" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:12-06:00">
<testcase name="DatabaseVocabulary should be a database OM Vocabulary with a terminology-based solrizer" time="0.000462886">
<testsuite name="DatabaseVocabulary" tests="3" time="0.571443132" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:52-06:00">
<testcase name="DatabaseVocabulary should be a database OM Vocabulary with a terminology-based solrizer" time="0.000251469">
</testcase>
<testcase name="DatabaseVocabulary should hold all the database object fields" time="0.005237221">
<testcase name="DatabaseVocabulary should hold all the database object fields" time="0.005011443">
</testcase>
<testcase name="DatabaseVocabulary should have the fields tagged for solr indexing" time="0.492236184">
<testcase name="DatabaseVocabulary should have the fields tagged for solr indexing" time="0.56593711">
</testcase>
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-DublinCoreVocabulary-to-solr.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="DublinCoreVocabulary#to_solr" tests="1" time="0.004112596" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="DublinCoreVocabulary#to_solr should include Solr-tagged fields in a hash" time="0.003947257">
<testsuite name="DublinCoreVocabulary#to_solr" tests="1" time="0.003701098" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="DublinCoreVocabulary#to_solr should include Solr-tagged fields in a hash" time="0.003509998">
</testcase>
</testsuite>
10 changes: 5 additions & 5 deletions spec/reports/SPEC-DublinCoreVocabulary.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="DublinCoreVocabulary" tests="4" time="0.082222102" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="DublinCoreVocabulary should be a Dublin Core OM vocabulary with a terminology-based solrizer" time="0.00063352">
<testsuite name="DublinCoreVocabulary" tests="4" time="0.060009019" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="DublinCoreVocabulary should be a Dublin Core OM vocabulary with a terminology-based solrizer" time="0.000400158">
</testcase>
<testcase name="DublinCoreVocabulary should hold all the Dublin Core Core Elements" time="0.002017838">
<testcase name="DublinCoreVocabulary should hold all the Dublin Core Core Elements" time="0.001280131">
</testcase>
<testcase name="DublinCoreVocabulary should hold fields for admin and technical metadata (non-DC)" time="0.000913459">
<testcase name="DublinCoreVocabulary should hold fields for admin and technical metadata (non-DC)" time="0.000652023">
</testcase>
<testcase name="DublinCoreVocabulary should have the fields tagged for Solr indexing" time="0.078408471">
<testcase name="DublinCoreVocabulary should have the fields tagged for Solr indexing" time="0.057310164">
</testcase>
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-HoldingsHelper-create-ua-links.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="HoldingsHelper#create_ua_links" tests="1" time="0.001589103" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:01-06:00">
<testcase name="HoldingsHelper#create_ua_links should return a set of UA link URLs" time="0.001456793">
<testsuite name="HoldingsHelper#create_ua_links" tests="1" time="0.005293669" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:46-06:00">
<testcase name="HoldingsHelper#create_ua_links should return a set of UA link URLs" time="0.004876948">
</testcase>
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-HoldingsHelper-fetch-alternative-links.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="HoldingsHelper#fetch_alternative_links" tests="1" time="0.001670519" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:01-06:00">
<testcase name="HoldingsHelper#fetch_alternative_links should return a set of alternative link URLs" time="0.001581434">
<testsuite name="HoldingsHelper#fetch_alternative_links" tests="1" time="0.001150905" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:46-06:00">
<testcase name="HoldingsHelper#fetch_alternative_links should return a set of alternative link URLs" time="0.001059958">
</testcase>
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-HoldingsHelper-fetch-sfx-holdings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="HoldingsHelper#fetch_sfx_holdings" tests="1" time="3.770992674" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:01-06:00">
<testcase name="HoldingsHelper#fetch_sfx_holdings should return a set of SFX link URLs" time="3.770825998">
<testsuite name="HoldingsHelper#fetch_sfx_holdings" tests="1" time="5.077503856" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:46-06:00">
<testcase name="HoldingsHelper#fetch_sfx_holdings should return a set of SFX link URLs" time="5.077366568">
</testcase>
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-HoldingsHelper-fetch-symphony-holdings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="HoldingsHelper#fetch_symphony_holdings" tests="1" time="5.509050586" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:14:56-06:00">
<testcase name="HoldingsHelper#fetch_symphony_holdings should return a set of Symphony print holdings" time="5.50875543">
<testsuite name="HoldingsHelper#fetch_symphony_holdings" tests="1" time="0.202120774" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:46-06:00">
<testcase name="HoldingsHelper#fetch_symphony_holdings should return a set of Symphony print holdings" time="0.20181668">
</testcase>
</testsuite>
2 changes: 1 addition & 1 deletion spec/reports/SPEC-HoldingsHelper.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="HoldingsHelper" tests="0" time="6.3993e-05" skipped="0" timestamp="2015-04-09T12:14:56-06:00">
<testsuite name="HoldingsHelper" tests="0" time="4.3608e-05" skipped="0" timestamp="2015-04-16T15:40:46-06:00">
</testsuite>
8 changes: 4 additions & 4 deletions spec/reports/SPEC-MarcModule.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="MarcModule" tests="3" time="0.002515147" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="MarcModule should return a nokogiri document of a marc record" time="0.000694914">
<testsuite name="MarcModule" tests="3" time="0.001962521" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="MarcModule should return a nokogiri document of a marc record" time="0.000493668">
</testcase>
<testcase name="MarcModule should return the value of a marc field" time="0.000755406">
<testcase name="MarcModule should return the value of a marc field" time="0.000518122">
</testcase>
<testcase name="MarcModule should return the value of a marc subfield" time="0.000878377">
<testcase name="MarcModule should return the value of a marc subfield" time="0.000730517">
</testcase>
</testsuite>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Metadata ingest pipeline when it is given a vocabulary object" tests="1" time="0.003256368" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="Metadata ingest pipeline when it is given a vocabulary object should connect to the Solr instance" time="0.003134957">
<testsuite name="Metadata ingest pipeline when it is given a vocabulary object" tests="1" time="0.003411424" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="Metadata ingest pipeline when it is given a vocabulary object should connect to the Solr instance" time="0.003277119">
</testcase>
</testsuite>
2 changes: 1 addition & 1 deletion spec/reports/SPEC-Metadata-ingest-pipeline.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Metadata ingest pipeline" tests="0" time="9.9204e-05" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testsuite name="Metadata ingest pipeline" tests="0" time="3.5202e-05" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-PeelModsVocabulary-to-solr.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="PeelModsVocabulary#to_solr" tests="1" time="0.008742787" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="PeelModsVocabulary#to_solr should include Solr-tagged fields in a hash" time="0.008605434">
<testsuite name="PeelModsVocabulary#to_solr" tests="1" time="0.00821651" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="PeelModsVocabulary#to_solr should include Solr-tagged fields in a hash" time="0.008058177">
</testcase>
</testsuite>
8 changes: 4 additions & 4 deletions spec/reports/SPEC-PeelModsVocabulary.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="PeelModsVocabulary" tests="3" time="0.276232487" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="PeelModsVocabulary should be a Dublin Core OM vocabulary with a terminology-based solrizer" time="0.000412426">
<testsuite name="PeelModsVocabulary" tests="3" time="0.2699639" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="PeelModsVocabulary should be a Dublin Core OM vocabulary with a terminology-based solrizer" time="0.000199322">
</testcase>
<testcase name="PeelModsVocabulary should hold all the MODS elements" time="0.006011721">
<testcase name="PeelModsVocabulary should hold all the MODS elements" time="0.006496431">
</testcase>
<testcase name="PeelModsVocabulary should have the fields tagged for Solr indexing" time="0.269618763">
<testcase name="PeelModsVocabulary should have the fields tagged for Solr indexing" time="0.263002936">
</testcase>
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-SFXService.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="SFXService" tests="1" time="1.538540455" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:10-06:00">
<testcase name="SFXService should return a list of targets" time="1.538372331">
<testsuite name="SFXService" tests="1" time="0.96727553" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="SFXService should return a list of targets" time="0.967141045">
</testcase>
</testsuite>
12 changes: 0 additions & 12 deletions spec/reports/SPEC-Search-by-ID.xml

This file was deleted.

12 changes: 0 additions & 12 deletions spec/reports/SPEC-Search-by-title.xml

This file was deleted.

4 changes: 2 additions & 2 deletions spec/reports/SPEC-StatusHelper-fetch-symphony-status.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="StatusHelper#fetch_symphony_status" tests="1" time="0.259808711" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:05-06:00">
<testcase name="StatusHelper#fetch_symphony_status should get a live status from symphony web-services" time="0.259417468">
<testsuite name="StatusHelper#fetch_symphony_status" tests="1" time="0.100645167" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:51-06:00">
<testcase name="StatusHelper#fetch_symphony_status should get a live status from symphony web-services" time="0.100270562">
</testcase>
</testsuite>
2 changes: 1 addition & 1 deletion spec/reports/SPEC-StatusHelper.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="StatusHelper" tests="0" time="6.1677e-05" skipped="0" timestamp="2015-04-09T12:15:05-06:00">
<testsuite name="StatusHelper" tests="0" time="4.1354e-05" skipped="0" timestamp="2015-04-16T15:40:51-06:00">
</testsuite>
4 changes: 2 additions & 2 deletions spec/reports/SPEC-SymphonyService.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="SymphonyService" tests="1" time="0.236138337" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:12-06:00">
<testcase name="SymphonyService returns an item status" time="0.235962175">
<testsuite name="SymphonyService" tests="1" time="0.19112022" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:54-06:00">
<testcase name="SymphonyService returns an item status" time="0.190681404">
</testcase>
</testsuite>
6 changes: 3 additions & 3 deletions spec/reports/SPEC-given-a-configuration-YAML-file.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="given a configuration YAML file" tests="2" time="0.001986527" failures="0" errors="0" skipped="0" timestamp="2015-04-09T12:15:13-06:00">
<testcase name="given a configuration YAML file should parse the file into the object fields" time="0.001009656">
<testsuite name="given a configuration YAML file" tests="2" time="0.001598554" failures="0" errors="0" skipped="0" timestamp="2015-04-16T15:40:53-06:00">
<testcase name="given a configuration YAML file should parse the file into the object fields" time="0.000745454">
</testcase>
<testcase name="given a configuration YAML file should return a class name from a vocabulary name" time="0.000804755">
<testcase name="given a configuration YAML file should return a class name from a vocabulary name" time="0.000661706">
</testcase>
</testsuite>
Loading

0 comments on commit 5b23e25

Please sign in to comment.