{"id":19818762,"url":"https://github.com/sloppycoder/nfsx-cukes","last_synced_at":"2026-05-31T23:31:00.875Z","repository":{"id":90083736,"uuid":"47066551","full_name":"sloppycoder/nfsx-cukes","owner":"sloppycoder","description":"Cucumber based BDD testing for NFS X ibank applications","archived":false,"fork":false,"pushed_at":"2015-11-30T05:42:49.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T20:01:48.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sloppycoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-29T14:27:53.000Z","updated_at":"2015-11-29T14:29:14.000Z","dependencies_parsed_at":"2023-03-10T15:37:00.984Z","dependency_job_id":null,"html_url":"https://github.com/sloppycoder/nfsx-cukes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sloppycoder/nfsx-cukes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fnfsx-cukes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fnfsx-cukes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fnfsx-cukes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fnfsx-cukes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sloppycoder","download_url":"https://codeload.github.com/sloppycoder/nfsx-cukes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fnfsx-cukes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33753923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T10:16:50.417Z","updated_at":"2026-05-31T23:31:00.861Z","avatar_url":"https://github.com/sloppycoder.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## BDD style functional testing for NFS X based applications \n\nThis is the next generation automated UI testing tool based on\n\n* [Cucumber](http://cukes.info) the pioneer of BDD style test framework for Ruby, Java, Javascript \n* [Capybara](https://github.com/jnicklas/capybara) Autoamted UI testing tool for Ruby\n* [Selenium 2](http://www.seleniumhq.org) the standard toolkit for automated browser testing\n\nThe simple tests case intended to test [NFS X iBank application](https://github.com/sloppycoder/nfsx/tree/master/ibank). It is incorporated into the continous integration workflow and launch for every commit pushed into specific branches. \n\nTo run the example:\n\n```\n  bundle install\n\n  # run tests with firefox browser and generate html report\n  bundle exec cucumber \n\n  #uses phantomjs for headless testing and generate json report\n  bundle exec cucumber --tag @t\n\n  #if you only 1 ruby installation on your computer, just use\n  cucumber --tag @t\n\n```\n\n## Test cases structure\n\nAll test cases are organized under features folder and grouped by functionality based on navigation menu strucuture.\n\n### Tips on naming and grouping of features and scenarios\n\n1. Create feature files based on functional area, and use tags to group test execution and projects.\n2. Tag can also be used to provide tracitbility to requirement.\n3. Use tags in indicate host system dependency, e.g. @eibm.\n\n```\n  # good\n  payee_management.feature\n\n  # bad\n  r9_g3_phase2.feature \n  cn_regression_mar_15.feature \n\n\n  # good\n  @regression\n  Scenario: Transfer fund to own account\n\n  #good\n  @R9_multiple_browser_FSD_1.2.1 \n  Scenario: whatever chapter 1.2.1 in FSD document describes\n\n```\n\nto execute test by grouping or project,\n\n```\n# execute regression pack\ncucumber --tags @regression\n\n# execute all test that does not rely on ibm host\ncucumber --tags ~@ibm\n\n# execute individual feature and scenario (by indicating line number)\ncucumber -r features features/ibank/bill_payment/manage_payee.feature:12\n\n```\n\nSee [Cucumber Wiki](https://github.com/cucumber/cucumber/wiki/Tags) for more details.\n\n\n### Tips on writing scearnios\n1. use \"I should see some message\" instead of \"Some message is displayed\"\n2. always quote test data or what is displayed on screen in step description\n3. be DRY. Try to use existing common steps for clicking menu, button, checking text in page etc\n\n```\n# good\nI select payee type \"Registered Payee\"\n\n# bad\nI select payee type Registered Payee\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloppycoder%2Fnfsx-cukes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsloppycoder%2Fnfsx-cukes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloppycoder%2Fnfsx-cukes/lists"}