csce 747 software testing and quality assurancetools –git under eclipse 1 csce 747 fall 2013 csce...

20
Tools – GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1

Upload: others

Post on 16-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  1 CSCE 747 Fall 2013

CSCE 747 Software Testing and Quality Assurance

Tools 10:   Git under Eclipse

1

Page 2: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  2 CSCE 747 Fall 2013

Eclipse Welcome Page

http://code.google.com/p/mockito/

Page 3: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  3 CSCE 747 Fall 2013

EGit User Guide

http://code.google.com/p/mockito/

Page 4: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  4 CSCE 747 Fall 2013

WindowsPreferences

Install/Update

http://code.google.com/p/mockito/

Page 5: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  5 CSCE 747 Fall 2013

Installing EGit Plug‐in

Under Help http://download.eclipse.org/egit/updates

http://code.google.com/p/mockito/

Page 6: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  6 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 7: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  7 CSCE 747 Fall 2013

Configuration

Select Window → Preferences → Team → Git→ Configura on

http://code.google.com/p/mockito/

Page 8: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  8 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 9: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  9 CSCE 747 Fall 2013

User.name & user.email

http://code.google.com/p/mockito/

Page 10: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  10 CSCE 747 Fall 2013

Activating the Git toolbar To simplify access to the common Gitoperations you can activate the Git toolbar.  For this select Window → Customize perspective... and  check the command groups Git and GitNavigation Actions in the Command Groups

http://code.google.com/p/mockito/

Page 11: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  11 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 12: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  12 CSCE 747 Fall 2013

Creating Git Repository within Eclipse

RightClick on project TeamShare Project

http://code.google.com/p/mockito/

Page 13: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  13 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 14: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  14 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 15: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  15 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 16: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  16 CSCE 747 Fall 2013

Using the Git Staging view for the initial commit

.gitignore ‐ bin directories etc. Window → Show View → Other... → Git→ Git Staging menu. ?No repository selected

Vogel, Lars (2013‐04‐22). Eclipse IDE (vogella) (Kindle Locations 2504‐2505). vogella.com. Kindle Edition.

http://code.google.com/p/mockito/

Page 17: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  17 CSCE 747 Fall 2013

Initial Commit

http://code.google.com/p/mockito/

Page 18: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  18 CSCE 747 Fall 2013

TestSuitepackage taSchedule;

import org.junit.runner.RunWith;

import org.junit.runners.Suite;import org.junit.runners.Suite.SuiteClasses;

@RunWith(Suite.class)@SuiteClasses({ TimeSlotTest.class, TimeTest.class })public class AllTests {

}

http://code.google.com/p/mockito/

Page 19: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  19 CSCE 747 Fall 2013http://code.google.com/p/mockito/

Page 20: CSCE 747 Software Testing and Quality AssuranceTools –GIT under Eclipse 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Tools 10: Git under Eclipse 1 Tools –GIT

Tools – GIT under Eclipse  20 CSCE 747 Fall 2013http://code.google.com/p/mockito/