{"action":"created","issue":{"url":"https://api.github.com/repos/S41nz/TBTAF/issues/13","labels_url":"https://api.github.com/repos/S41nz/TBTAF/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/S41nz/TBTAF/issues/13/comments","events_url":"https://api.github.com/repos/S41nz/TBTAF/issues/13/events","html_url":"https://github.com/S41nz/TBTAF/issues/13","id":119309705,"number":13,"title":"[Interpreter] Wrong getTestCases() method call upon publish test_plan","user":{"login":"S41nz","id":11437246,"avatar_url":"https://avatars.githubusercontent.com/u/11437246?v=3","gravatar_id":"","url":"https://api.github.com/users/S41nz","html_url":"https://github.com/S41nz","followers_url":"https://api.github.com/users/S41nz/followers","following_url":"https://api.github.com/users/S41nz/following{/other_user}","gists_url":"https://api.github.com/users/S41nz/gists{/gist_id}","starred_url":"https://api.github.com/users/S41nz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S41nz/subscriptions","organizations_url":"https://api.github.com/users/S41nz/orgs","repos_url":"https://api.github.com/users/S41nz/repos","events_url":"https://api.github.com/users/S41nz/events{/privacy}","received_events_url":"https://api.github.com/users/S41nz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/S41nz/TBTAF/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"luisdani2090","id":2000368,"avatar_url":"https://avatars.githubusercontent.com/u/2000368?v=3","gravatar_id":"","url":"https://api.github.com/users/luisdani2090","html_url":"https://github.com/luisdani2090","followers_url":"https://api.github.com/users/luisdani2090/followers","following_url":"https://api.github.com/users/luisdani2090/following{/other_user}","gists_url":"https://api.github.com/users/luisdani2090/gists{/gist_id}","starred_url":"https://api.github.com/users/luisdani2090/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisdani2090/subscriptions","organizations_url":"https://api.github.com/users/luisdani2090/orgs","repos_url":"https://api.github.com/users/luisdani2090/repos","events_url":"https://api.github.com/users/luisdani2090/events{/privacy}","received_events_url":"https://api.github.com/users/luisdani2090/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-28T17:47:54Z","updated_at":"2015-11-28T19:19:16Z","closed_at":null,"body":"Considering the following script:\r\n\r\n//TBTAF Integration test 02\r\n//Description:\r\n//1.-Create a simple test suite\r\n//2.-Create a test bed\r\n//3.-Create a TBTAF project to be stored in DB\r\n//4.-Publish the test plan based on the created test suite\r\n\r\nmyTestBed = create_test_bed()\r\n//After the command above the following output on console is expected:\r\n//New test bed created on: localhost\r\n\r\n//Replace TEST_CONTENT_LOCATION by the actual location on the repo for the test TBTestCases\r\nmyTestSuite = create_test_suite(\"C:\\\\Users\\\\psainza\\\\Documents\\\\TBTAF\\\\TBTAF\\\\tbtaf\\\\test\\\\discoverer\\\\samples\")\r\n//After the command above the following output on console is expected:\r\n// For each discovered test\r\n// Test <Test ID> loaded from: <Complete test filepath>\r\n// Then at the end:\r\n// Test suite created with <number of loaded tests> test cases\r\n\r\n//Create the test project.\r\ncreate_new_project(myTestSuite,myTestBed,\"TBTAF Smoke test project 02\")\r\n//After the command above the following output on console is expected:\r\n//New project created: TBTAF Smoke test project 02\r\n//Number of tests: <Number of contained tests>\r\n//Execution nodes: localhost\r\n\r\n//Replace TEST_PLAN_LOCATION by the actual location on the repo for the test plan HTML\r\npublish test_plan(myTestSuite,\"C:\\\\Users\\\\psainza\\\\Documents\\\\TBTAF\\\\TBTAF\\\\tbtaf\\\\test\\\\discoverer\\\\samples\\\\SmokeTestReport.html\",HTML)\r\n//After the command above the following output on console is expected:\r\n//Test plan published at: TEST_PLAN_LOCATION\r\n\r\nIf the issue reported on #12 is removed, then I got the following message upon publish test_plan execution:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\psainza\\Documents\\TBTAF\\TBTAF\\tbtaf\\tbtaf_launcher.py\", line 17, in <module>\r\n    parseResult = myTBTAF.parseScript(testScript)\r\n  File \"C:\\Users\\psainza\\Documents\\TBTAF\\TBTAF\\tbtaf\\orchestrator\\TBTAFOrchestrator.py\", line 62, in parseScript\r\n    return _interpreter.parseScript(filePath)\r\n  File \"C:\\Users\\psainza\\Documents\\TBTAF\\TBTAF\\tbtaf\\interpreter\\TBTAFInterpreter.py\", line 115, in parseScript\r\n    raise e\r\nAttributeError: 'str' object has no attribute 'getTestCases'\r\n\r\nThanks and regards"},"comment":{"url":"https://api.github.com/repos/S41nz/TBTAF/issues/comments/160330240","html_url":"https://github.com/S41nz/TBTAF/issues/13#issuecomment-160330240","issue_url":"https://api.github.com/repos/S41nz/TBTAF/issues/13","id":160330240,"user":{"login":"S41nz","id":11437246,"avatar_url":"https://avatars.githubusercontent.com/u/11437246?v=3","gravatar_id":"","url":"https://api.github.com/users/S41nz","html_url":"https://github.com/S41nz","followers_url":"https://api.github.com/users/S41nz/followers","following_url":"https://api.github.com/users/S41nz/following{/other_user}","gists_url":"https://api.github.com/users/S41nz/gists{/gist_id}","starred_url":"https://api.github.com/users/S41nz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S41nz/subscriptions","organizations_url":"https://api.github.com/users/S41nz/orgs","repos_url":"https://api.github.com/users/S41nz/repos","events_url":"https://api.github.com/users/S41nz/events{/privacy}","received_events_url":"https://api.github.com/users/S41nz/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T19:19:16Z","updated_at":"2015-11-28T19:19:16Z","body":"Please assign this to the discoverer team, if the minimum test case metadata is not present, the test case must not be loaded at all.\n\nThanks and regards "}}