testrail_helper 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 226cdeb774cca9ece1397a15d95b02a557371319
4
- data.tar.gz: 85fcf6d22b6668b3831aa91db30eb0e8b303350d
3
+ metadata.gz: 92fcc806b8b08ad4204980db5a20e0cfdfa4d813
4
+ data.tar.gz: 18fc0e09856c9fb4e188645ad4146914d8a795b8
5
5
  SHA512:
6
- metadata.gz: f9230bae3bab5e0fb952963093554e3b80b1091a39fd2908f83b373cd8ae28e17f69bc75b668785f12ac5ccdd35874083fc4bd3fed792f8aeb1dc92d7582dc55
7
- data.tar.gz: 278f7c9bbb7a4d5f1780e5f27391872560ecd3f4c3de50c7309797097a75984cd203b604b9b155d356d43e8fbc0043a882bcb8b6f5669ad1b26f5900d402880d
6
+ metadata.gz: e84e206166131b01b5cfaacb39e8134b7c2f045e528b6607f82799a9902fa01eea17c30dbc1aae4a3b436180a22200e5699243f95e526f87c4f2a25c0a3e1ca2
7
+ data.tar.gz: c65e6627f8cb0bf3d5210a12bd9c6bdd97a02151a279f6b650ce40f72dde6e8e0df99964615636d31788eca96d1c2a83bc01593a11b0b247d7c686a8efec0b09
@@ -1,3 +1,3 @@
1
1
  module TestrailHelper
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/test.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/lib/testrail_helper')
2
2
 
3
3
  # create a new client
4
- client = TestrailHelper::Client.new(username:'mattfairbourn@gmail.com',password: 'CanvasP@$$',url: 'https://canvas.testrail.com/')
4
+ client = TestrailHelper::Client.new(username:'',password: '',url: 'https://blarg.testrail.com/')
5
5
 
6
6
  # get a list of test cases by passing in the suite_id and section_id
7
7
  cases = client.get_all_test_cases_in_section(suite_id: "729", section_id: "8")
@@ -15,5 +15,5 @@ filtered_cases_with_or = client.filter_by_fields_or(cases,priority_id: 4, creat
15
15
  # write list to file
16
16
  write_to_file(cases,'/output/filename')
17
17
 
18
- # update test case with desired params.
19
- client.update_test_case(217617,type_id:3,custom_automated:true,custom_preconds:"blarg")
18
+ # update a test case by simply putting the test_id
19
+ update_test_case(12345,priority_id:2,type_id:1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testrail_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kinezu