Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
B
bloclink
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • bloclink
  • Merge Requests
  • !102

You need to sign in or sign up before continuing.
Merged
Opened Mar 05, 2020 by Tillie Kottmann@deletescapeOwner

BI-928 Refactor PNA BDD test code with JSON data

  • Overview 2
  • Commits 4
  • Changes 9

Created by: ay701

This PR refactor BDD testing code for PNA app Test data will stay in feature file, inside scenario outline Fixture and tag are used to apply the data injection

To test:

  1. Switch to BI-928 branch, then: git pull
  2. Go to /bloclink/apps/pna folder
  3. Install behave locally (If you haven't): pip install behave
  4. Make sure bloclink service is running locally
  5. Run the test: python -m behave

You are expected to see test results like following screenshot, based on test definition in *.feature files. Please feel free to review, & see if the result makes sense.

Screen Shot 2020-03-06 at 2 22 52 PM

Issue related: https://blocpower.atlassian.net/browse/BI-770

Issue fixed: https://blocpower.atlassian.net/browse/BI-928

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/bloclink!102
Source branch: BI-928