Git
Gunit
profilers
profilers cont'd
Production Gating
100

should you force push a branch?

No, not on anything other than a private branch that you own.

100

What is GUnit used for?

To configure and run repeatable test of your Gosu code in a smilar fashion that JUnit works with Java Code. It's used for loading sample data and creating data for unit tests

100

What are the two main types of profilers?

100 Bonus: 

what are the two primary uses of profilers?

1.Web Profiler 2. Entry Point Profiler

Bonus:

1. Investigating performance issues in prod environment 2. For early problem detection during development

100
Define the following terms: 

a) frame
b) stack

a) A single invocation of a profiled section of code.

b) A collection of frames

100

What are 2 key benefits of the production gating process?

Possible answers include:
- It assures initial and continued production health.
- It produces optimization requirements for entering GW cloud.

200

Which flag can be used with the git checkout command to create and switch to a new branch?

"-b"

200

what must a test method name start with?

the word 'test'

200

What kind of information is captured by the web profiler?

1. Timing for specific sections of code running on the server 2. Response times for calls to external services or database

200

How can I access the Guidewire Profiler Configuration Page?

Alt+Shift+P  or Alt+Shift+T, then select Guidewire Profiler

200

What is included in the gating process?

- Professional Services Technical Implementation Assessments(TIA)
- Cloud Operations Readiness Evaluations ("CORE" checks)
- It is executed iteratively through implementation, at specific intervals, during upgrade, and post-production on-going change releases.

300

"Which of the following applies to Git, a Tradtional VCS, or both?
1. It allows you to commit and create branches
2. Branches are cheap to create so you do it all the time
3. Stores snapshots of the project
4. Reverting a change requires connection to the remote repository
5. There is a remote repository that contains all the shared changes from every developer"

1. Both 2. Git 3. Git 4. Traditional VCS 5. Both

300

What can be tested with Gunit?

Any body of Gosu code except rules

300

In the "Find Frames" toolbox under the profile analysis tool in GW studio, what would doing a Custom template search, with the property set to 'ignore' return?

All of the individual tags, aggregated. Which allows us to see the cumulative time spent in each tag of code.

300

What does the aggregated Queries View show?

Each Query in the stack is presented as a row

300

What is the purpose of life?

42

400

"Which of the following should you always do?
a) Force push to every branch
b) Work in a side branch
c) Check in jar and ZIP files
d) Commit before switching branch"

The correct answers are b) and d)

400

What 3 parameters are usually passed to an assertEquals statement and in what order?

Failure reason, Expected Value, Actual Value

400

What does the "auto analysis" button do in the GW Studio Profile Analysis tool?

Checks for any known anti-patterns.

400

What do the following do:

a) Profiler.push(some_profiler_tag)

b)What does Profiler.pop(some_frame) do?

a) pushes or adds a frame onto the stack and begins profiling the code that follows

b) pops the frame off of the stack to end profiling

400

What is the best bear?

Black bear.

500

"Assuming you merge a pull request from user/jdoe/US4567 to r-develop/r_1_2, which of the following branches would also get the code via the automatic merging functionality?
a) develop
b) r-develop/r_1
c) r-develop/r_2
d)r-develop/r_1_1
e)r-develop/r_1_3
f)r-develop/r_2_1"

The correct answers are a), c), e) and f)

500

What considerations should be made when organizing tests?

Packages and classes are the organization tools.
Functional areas, regression testing, local testing, and continuous integration builds should be considered when organizing your tests.

500

What is the difference between gRoot and bRoot queries?

bRoot queries are bean queries - which are cached. gRoot are Gosu queries, which aren't cached.

500

Which Data Points are not included in the aggregated Query View?
1.Elapsed Time
2. Offset
3. Number of Invocations

2. offset - Individual Queries can be viewed in the individual view or by expanding the individual query.

500

What is Mike Hallock's full name?

Michael John Hallock III