-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from s4int/python3
Python3
- Loading branch information
Showing
11 changed files
with
82 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: python | ||
python: | ||
- 2.7 | ||
- 3.6 | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
- pip install . | ||
script: | ||
- robot -x xunit.xml tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = '0.0.2' | ||
VERSION = '0.0.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include requirements.txt README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
robotframework >= 2.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
*** Settings *** | ||
Documentation CSV examples for Robot Framework. | ||
Library Collections | ||
Library CSVLibrary | ||
|
||
*** Variables *** | ||
# Example data generated with: https://www.mockaroo.com/ | ||
@{template_list}= 1 Douglas Morris dmorris0@mozilla.org Male 205.4.212.229 | ||
&{template_dict}= id=1 first_name=Douglas last_name=Morris email=dmorris0@mozilla.org gender=Male ip_address=205.4.212.229 | ||
&{template_dict_quoting}= id=1 first_name=Douglas last_name=Morris email=dmorris0@mozilla.org gender="Male ip_address=205.4.212.229 | ||
|
||
*** Test Cases *** | ||
Read csv file to a list example test | ||
@{list}= read csv file to list ${CURDIR}${/}data.csv | ||
lists should be equal ${template_list} ${list[1]} | ||
|
||
Read csv file to a dict example test | ||
@{dict}= read csv file to associative ${CURDIR}${/}data.csv | ||
dictionaries should be equal ${template_dict} ${dict[0]} | ||
|
||
Read csv file without quoting to associative | ||
@{dict}= read csv file to associative ${CURDIR}${/}data_quoting.csv delimiter=, quoting=${3} | ||
dictionaries should be equal ${template_dict_quoting} ${dict[0]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id,first_name,last_name,email,gender,ip_address | ||
1,Douglas,Morris,dmorris0@mozilla.org,Male,205.4.212.229 | ||
2,Stephanie,Oliver,soliver1@google.com.br,Female,18.101.154.106 | ||
3,Russell,Castillo,rcastillo2@shop-pro.jp,Male,255.52.95.46 | ||
4,Helen,Reed,hreed3@rambler.ru,Female,167.55.67.109 | ||
5,Jesse,Wagner,jwagner4@histats.com,Male,252.37.62.215 | ||
6,Ashley,Diaz,adiaz5@wikia.com,Female,79.87.105.139 | ||
7,Rachel,Robinson,rrobinson6@blogger.com,Female,132.66.117.101 | ||
8,Phillip,Johnston,pjohnston7@disqus.com,Male,70.152.55.21 | ||
9,Craig,Burton,cburton8@toplist.cz,Male,73.117.157.82 | ||
10,Patrick,Fisher,pfisher9@1und1.de,Male,2.36.191.97 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id,first_name,last_name,email,gender,ip_address | ||
1,Douglas,Morris,dmorris0@mozilla.org,"Male,205.4.212.229 | ||
2,Stephanie,Oliver,soliver1@google.com.br,Female,18.101.154.106 | ||
3,Russell,Castillo,rcastillo2@shop-pro.jp,Male,255.52.95.46 | ||
4,Helen,Reed,hreed3@rambler.ru,Female,167.55.67.109 | ||
5,Jesse,Wagner,jwagner4@histats.com,Male,252.37.62.215 | ||
6,Ashley,Diaz,adiaz5@wikia.com,Female,79.87.105.139 | ||
7,Rachel,Robinson,rrobinson6@blogger.com,Female,132.66.117.101 | ||
8,Phillip,Johnston,pjohnston7@disqus.com,Male,70.152.55.21 | ||
9,Craig,Burton,cburton8@toplist.cz,Male,73.117.157.82 | ||
10,Patrick,Fisher,pfisher9@1und1.de,Male,2.36.191.97 |