GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — FF.PyAdmin/features at master · camark/FF.PyAdmin

Expand file tree

/

features

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

features

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
steps
steps
 
 
README.md
README.md
 
 
asn.feature
asn.feature
 
 
bgp.feature
bgp.feature
 
 
environment.py
environment.py
 
 

README.md

Outline

BDD

基于 behave, 使用标准 Gherkin.

代码调用顺序

before_all
for feature in all_features:
    before_feature
    for scenario in feature.scenarios:
        before_scenario
        for step in scenario.steps:
            before_step
                step.run()
            after_step
        after_scenario
    after_feature
after_all

目录结构

behave.ini
app/
features/
features/environment.py
features/demo_add.feature
features/demo_add_more.feature
features/steps/
features/steps/demo_add.py
features/steps/demo_add_more.py

文档

  • https://github.com/behave/behave.example
  • https://behave.readthedocs.io/en/latest/usecase_flask.html
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.