Вы находитесь на странице: 1из 3

git status

Merge to gitbug
git add features/sign_in/login.feature
git commit -m "test login without memberID and test login without PIN"

in github, https://github.com/Herbalifedev/wlc-test, click on "branch", then cli


ck on "New pull request"

git branch -d login-test


shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ ~/bin/cucumber features/sign_in/login.feature:22
Feature: Login

Exiting... Interrupt again to exit immediately.


shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ ~/bin/cucumber features/sign_in/login.feature:22
Feature: Login
Scenario: Login without pin

# feature
s/sign_in/login.feature:22

Given I visit home page

# feature

s/step_definitions/web_steps.rb:1
Given I fill in "sign_in.member_id" with "sign_in.member_id_value" # feature
s/step_definitions/web_steps.rb:9
When I click on "sign_in.button"

# feature

s/step_definitions/web_steps.rb:15
Then I should see "sign_in.error.invalid"

# feature

s/step_definitions/web_steps.rb:21

1 scenario (1 passed)
4 steps (4 passed)
0m50.206s
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ ~/bin/cucumber features/sign_in/login.feature:28
Feature: Login
Scenario: Login without member_id

# features/sign_in/lo

gin.feature:28
Given I visit home page

# features/step_defin

itions/web_steps.rb:1
Given I fill in "sign_in.pin" with "sign_in.pin_value" # features/step_defin
itions/web_steps.rb:9
When I click on "sign_in.button"

# features/step_defin

itions/web_steps.rb:15
Then I should see "sign_in.error.invalid"

# features/step_defin

itions/web_steps.rb:21
1 scenario (1 passed)
4 steps (4 passed)
0m36.829s
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git branch
* login-test
master
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git status
On branch login-test
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified:

features/sign_in/login.feature

no changes added to commit (use "git add" and/or "git commit -a")
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git add features/sign_in/login.feature
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git commit -m "test login without memberID and test login without PIN"
[login-test 36a004b] test login without memberID and test login without PIN
Committer: U-HERBALIFECORP\shaminis <shaminis@MYKL-DTS-06.hrbl.net>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit

After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 12 insertions(+)
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git push origin login-test
Username for 'https://github.com':
Password for 'https://shaminis@github.com':
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 587 bytes | 0 bytes/s, done.
Total 5 (delta 3), reused 0 (delta 0)
To https://github.com/Herbalifedev/wlc-test.git
* [new branch]
login-test -> login-test
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git branch
* login-test
master
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git pull
Username for 'https://github.com':
Password for 'https://shaminis@github.com':
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
From https://github.com/Herbalifedev/wlc-test
fe731d8..076bb6d master
-> origin/master
Updating fe731d8..076bb6d
Fast-forward
features/sign_in/login.feature | 12 ++++++++++++
1 file changed, 12 insertions(+)
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test
$ git branch -d login-test
Deleted branch login-test (was 36a004b).
shaminis@MYKL-DTS-06 /cygdrive/c/wlc-test

Вам также может понравиться