KEMBAR78
Making Testing Easy w GitHub Copilot.pdf
@BLACKGIRLBYTES
/Make Testing Easy
with GitHub Copilot
INDEX.HTML
By Rizel Scarlett
@BLACKGIRLBYTES
INDEX.HTML
<Pains of Testing>
- I never really learned how to write good unit tests in
bootcamp or college. I just follow patterns in my
codebase.
- It never feels like I have enough time whether I write
them before or after. Reality is, estimated time to
complete a ticket doesn’t often include much testing.
@BLACKGIRLBYTES
INDEX.HTML
<Reduces the Pain>
GitHub Copilot - an AI pair
programmer increases velocity and
reduces time focused on syntax.
What is Copilot
/01 What is Copilot Labs
/02
Copilot Use Cases
/03
Copilot Examples +
Applitools
/04
/Plan for today
@BLACKGIRLBYTES
INDEX.HTML
@BLACKGIRLBYTES
INDEX.HTML
/Hi, I’m Rizel Scarlett!
- Developer Advocate @ GitHub
- Software Engineer ~3 years
- Dir of Programming at G{Code}
House
- Passionate about tech education
- Passion for learning
- Hopelessly addicted to Twitter
@BLACKGIRLBYTES
INDEX.HTML
Automate software workflows
including CI/CD, automated
testing, builds, and
deploys
/COPILOT
Provides predictive
text for programming
/COPILOT LABS
Translate your Python code
into Javascript and
JavaScript to Java
And explain code to you
/GITHUB ACTIONS /CODESPACES
Write and run code in your
browser
/TECHNOLOGIES YOU WILL SEE TODAY
@BLACKGIRLBYTES
INDEX.HTML
/Copilot
@BLACKGIRLBYTES
INDEX.HTML
/Copilot Labs
@BLACKGIRLBYTES
INDEX.HTML
/GitHub Actions
@BLACKGIRLBYTES
INDEX.HTML
/Codespaces
@BLACKGIRLBYTES
INDEX.HTML
/Codespaces
Have your environment ready to go! This means
source code, editor extensions, project
dependencies, commands, and configurations have
already been downloaded
@BLACKGIRLBYTES
INDEX.HTML
Why use Copilot?
/Use Case #1
Writing better comments
@BLACKGIRLBYTES
INDEX.HTML
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #2
Coding a little faster – ex:
Will determine Regex for you
based on comments
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #3
Pair programming with a
coworker
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #4
Writing tests
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #5
Live coding for conference
talks
@BLACKGIRLBYTES
INDEX.HTML
@BLACKGIRLBYTES
INDEX.HTML
Why use Copilot
Labs?
/Use Case #1
Getting comfortable in a new
codebase
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #2
Understanding solutions you
find on StackOverflow
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #3
Gaining additional context
for different data structures
and algorithms
@BLACKGIRLBYTES
INDEX.HTML
/Use Case #4
Mentoring or debugging with
someone who prefers writing
in a different programming
language than you.
@BLACKGIRLBYTES
INDEX.HTML
Please note: GitHub Copilot is in
technical preview, and thus not all
users will be able to access this
feature. Please join the waitlist if
you'd like to sign up for the
technical preview.
@BLACKGIRLBYTES
INDEX.HTML
ALSO GitHub Copilot is not perfect.
We are still in beta mode, so
please feel free to submit feedback
as you use the product.
@BLACKGIRLBYTES
INDEX.HTML
@BLACKGIRLBYTES
INDEX.HTML
How to use
/Install IDE
Extensions
Available in Visual Studio
Code, Neovim, and JetBrains
@BLACKGIRLBYTES
INDEX.HTML
@BLACKGIRLBYTES
INDEX.HTML
<Copilot Examples>
Discovering APIs - Post a static
site to GitHub pages
@BLACKGIRLBYTES
INDEX.HTML
<Copilot Examples>
Studying Data Structures and
Algorithms - Building a binary
search algorithm
@BLACKGIRLBYTES
INDEX.HTML
<Copilot Examples>
Unit Testing - Building a rock,
paper, scissors game AND write unit
tests for it
@BLACKGIRLBYTES
INDEX.HTML
<Copilot Examples>
Regex - Phone validation
@BLACKGIRLBYTES
INDEX.HTML
<Copilot Examples>
Autocompletion for Applitools Eyes
1. It’s not magic. GitHub Copilot
can’t read my mind, and it will not
always spit out perfectly well-
written, up-to-date code.
2. Copilot increases my confidence and
velocity as a programmer. Now, I have
to worry less about syntax.
@BLACKGIRLBYTES
INDEX.HTML
Thank you, Applitools!
Any questions?
@BLACKGIRLBYTES
INDEX.HTML

Making Testing Easy w GitHub Copilot.pdf