https://bugzilla.wikimedia.org/show_bug.cgi?id=63467

            Bug ID: 63467
           Summary: mediawiki/ruby/api repo should run unit tests after
                    every patch set
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: zfili...@wikimedia.org
                CC: cmcma...@wikimedia.org, zfili...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/ruby/api

To run unit tests, run rspec from the root of the repo:

$ rspec
I, [2014-04-03T12:02:33.907066 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.907137 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.908769 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.908822 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.924301 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.924344 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.951007 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.951100 #3818] DEBUG -- response: set-cookie:
"prefixSession=789; path=/; domain=localhost; HttpOnly"
I, [2014-04-03T12:02:33.951279 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.951309 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.952320 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.952348 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.953119 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.953166 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.954511 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.954543 #3818] DEBUG -- response: set-cookie:
"prefixSession=789; path=/; domain=localhost; HttpOnly"
I, [2014-04-03T12:02:33.954696 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.954727 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.955615 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.955643 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.982678 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.982728 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.983815 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.983843 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.984428 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.984462 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.985388 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.985421 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.986208 #3818]  INFO -- : get
http://localhost/api.php?action=tokens&format=json&type=edit
D, [2014-04-03T12:02:33.986243 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
I, [2014-04-03T12:02:33.988652 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.988686 #3818] DEBUG -- response: 
I, [2014-04-03T12:02:33.988850 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.988882 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.989839 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.989867 #3818] DEBUG -- response: 
.*I, [2014-04-03T12:02:33.990917 #3818]  INFO -- : get
http://localhost/api.php?action=tokens&format=json&type=delete
D, [2014-04-03T12:02:33.990978 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
I, [2014-04-03T12:02:33.993307 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.993336 #3818] DEBUG -- response: 
I, [2014-04-03T12:02:33.993461 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.993513 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.994423 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.994450 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.995175 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.995208 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.996103 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.996130 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.996787 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.996820 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.998175 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.998206 #3818] DEBUG -- response: set-cookie:
"prefixSession=789; path=/; domain=localhost; HttpOnly"
I, [2014-04-03T12:02:33.998330 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.998360 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:33.999215 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:33.999242 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:33.999822 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:33.999856 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:34.001270 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:34.001311 #3818] DEBUG -- response: set-cookie:
"prefixSession=789; path=/; domain=localhost; HttpOnly"
I, [2014-04-03T12:02:34.001445 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:34.001495 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:34.002342 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:34.002375 #3818] DEBUG -- response: 
.I, [2014-04-03T12:02:34.003543 #3818]  INFO -- : post http://localhost/api.php
D, [2014-04-03T12:02:34.003593 #3818] DEBUG -- request: User-Agent: "Faraday
v0.9.0"
Content-Type: "application/x-www-form-urlencoded"
I, [2014-04-03T12:02:34.004627 #3818]  INFO -- Status: 200
D, [2014-04-03T12:02:34.004655 #3818] DEBUG -- response: 
.

Pending:
  MediawikiApi::Client#create_page when API returns Success returns a
MediawikiApi::Page
    # Not yet implemented
    # ./spec/client_spec.rb:83

Finished in 0.3394 seconds
12 examples, 0 failures, 1 pending

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to