Skip to content

Instantly share code, notes, and snippets.

@bsommardahl
Last active October 5, 2021 06:18
Show Gist options
  • Save bsommardahl/1eade344bfa91f798039e262a7933cb9 to your computer and use it in GitHub Desktop.
Save bsommardahl/1eade344bfa91f798039e262a7933cb9 to your computer and use it in GitHub Desktop.
Pairing Session Prep - Instructions

AA/HU Pair Session Instructions

You have likely just received a request to schedule a "Pairing Session" or a technical interview with an engineer from Acklen Avenue or Hero Unit. These instructions are meant to help you set up your environment and get you ready for success in this next step in the vetting process. AFTER you finish setting up your environment, you'll be ready to schedule the interview (see link below).

What is a Pair Session?

A pair session is a collaborative, live coding session where two or more engineers will take turns writing code. We use various tools and techniques to make distributed coding and collaboration possible including screen sharing and an online IDE tuned for collaboration.

Before Scheduling the Pair Session

We want to use the entire time alotted for the pair session for actual coding. To that end, we ask that you set up an environment and save the setup to git before you schedule the session with our engineering team. This extra step prevents false-starts and ensures every candidate gets a fair shake at demonstrating their dev powers.

  1. Unless the programming language/technology was chosen by AA or HU, you should decide on a language in which you would like to do this pair session. We suggest you choose the language in which you feel most comfortable.
  2. Create a new PUBLIC git repository at github or gitlab for your environment and the code we will write together (we will ask for the url later).
  3. Set up a dev environment for your language in GitPod. We use GitPod since it allows us to spin up collaborative dev environments for multiple languages. If your chosen language is not supported by GitPod or you are unable to get it set up, please let your recruiter know or choose another language.
  4. Use GitPod to open and configure your git repo and workspace for your selected language. We suggest saving the GitPod config to a yml file in your repo so that the environment can be started easily when it's time for the pair session. During the pair session, we will be writing unit tests that interact with functions in your codebase. Keeping this in mind, your workspace config can be fairly minimal.
  5. Set up your repo for unit testing by adding some dummy code that demonstates basic unit testing.
  • You'll need two unit tests that interact with implementatoin code:
    • one unit test that FAILS for the right reasons
    • one unit test that PASSES for the right reasons
    • Get ready to take a screenshot of those 2 unit tests to provide when scheduling the pair session.
  • You'll need a way to run the unit tests, whether from the command line or using built-in GitPod tools
  1. Enable auto-save so that all viewers can see updates in almost-real-time.

Sharing The Workspace

GitPod allows you to share your workspace with others for live collaboration. Here's a video that should help you share your workspace url during the interview. https://www.loom.com/share/ddc80cfd36754749b6c59352f56e8831

@inoas
Copy link

inoas commented Apr 21, 2021

implementatoin

implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment