From 54f8fc0b78a4406e2189bcb7deb4ae6f7b23d663 Mon Sep 17 00:00:00 2001 From: Eduardo Mendes Date: Tue, 17 Apr 2018 18:44:57 -0300 Subject: [PATCH] Ajusts on feature identation --- tests/resume.feature | 770 +++++++++++++++++++++---------------------- 1 file changed, 385 insertions(+), 385 deletions(-) diff --git a/tests/resume.feature b/tests/resume.feature index a9fbfff..04f0183 100644 --- a/tests/resume.feature +++ b/tests/resume.feature @@ -1,406 +1,406 @@ Feature: Resume generation - @basic - Scenario: en basic - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] - - ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] - - ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "en" lang "basic" template - Then resume was generated at "tmp" - - @basic - Scenario: pt basic - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] - - ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] - - ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "pt" lang "basic" template - Then resume was generated at "tmp" - - @basic - Scenario: es basic - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] - - ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] - +@basic +Scenario: en basic + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "es" lang "basic" template - Then resume was generated at "tmp" - - @red - Scenario: en red - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "en" lang "basic" template + Then resume was generated at "tmp" + +@basic +Scenario: pt basic + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "pt" lang "basic" template + Then resume was generated at "tmp" + +@basic +Scenario: es basic + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "en" lang "red" template - Then resume was generated at "tmp" - - @red - Scenario: pt red - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "es" lang "basic" template + Then resume was generated at "tmp" + +@red +Scenario: en red + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "en" lang "red" template + Then resume was generated at "tmp" + +@red +Scenario: pt red + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "pt" lang "red" template - Then resume was generated at "tmp" - - @red - Scenario: es red - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "pt" lang "red" template + Then resume was generated at "tmp" + +@red +Scenario: es red + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "es" lang "red" template + Then resume was generated at "tmp" + +@simple +Scenario: es simple + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "es" lang "red" template - Then resume was generated at "tmp" - - @simple - Scenario: es simple - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] - - ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "es" lang "simple" template + Then resume was generated at "tmp" + +@simple +Scenario: pt simple + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "es" lang "simple" template - Then resume was generated at "tmp" - - @simple - Scenario: pt simple - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } + + """ + And set "pt" lang "simple" template + Then resume was generated at "tmp" + +@simple +Scenario: en simple + When send a "example" json: + """ + { + "name": "George the Martian", + "function": "Youtube senior analyst", + "phone": "+55 287298121", + "email": "George@martian.com", + "address": "73 N. Oak Drive - Dyersburg, TN 38024", + "education": [ + ["PhD in the streets - Harvard", + "2001"], + + ["PhD in python - PyCon", + "every year"] + + ], + "experience": [ + ["Scroll Master", + "Mai 2003 - Jun 2007", + "Scroll the scroll of the mouse pretending to program"], + + ["Garbage collector", + "Jan 2000 - Mai 2003", + "Collecting garbage in other codes"] + + ], + "skills": [ + ["Python", 5], + ["Java", 2], + ["C++", 4], + ["JS", 1] ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] + "languages": [ + ["Elvish", "Fluent"], + ["English", "Basic"] + ] + } - ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "pt" lang "simple" template - Then resume was generated at "tmp" - - @simple - Scenario: en simple - When send a "example" json: - """ - { - "name": "George the Martian", - "function": "Youtube senior analyst", - "phone": "+55 287298121", - "email": "George@martian.com", - "address": "73 N. Oak Drive - Dyersburg, TN 38024", - "education": [ - ["PhD in the streets - Harvard", - "2001"], - - ["PhD in python - PyCon", - "every year"] - - ], - "experience": [ - ["Scroll Master", - "Mai 2003 - Jun 2007", - "Scroll the scroll of the mouse pretending to program"], - - ["Garbage collector", - "Jan 2000 - Mai 2003", - "Collecting garbage in other codes"] - - ], - "skills": [ - ["Python", 5], - ["Java", 2], - ["C++", 4], - ["JS", 1] - ], - - "languages": [ - ["Elvish", "Fluent"], - ["English", "Basic"] - ] - } - - """ - And set "en" lang "simple" template - Then resume was generated at "tmp" + """ + And set "en" lang "simple" template + Then resume was generated at "tmp"