Skip to content

Instantly share code, notes, and snippets.

View dwalleck's full-sized avatar

Daryl Walleck dwalleck

View GitHub Profile
curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads.chromedriver[] | select(.platform == "linux64").url'
curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads.chrome[] | select(.platform == "linux64").url'
APP_URL=http://localhost:{{port}}/YourService/
SUPERADMIN_USERNAME=superadmin
SUPERADMIN_SERVICE_KEY={{serviceKey}}
SUPERADMIN_API_KEY={{apiKey}}
SUPERADMIN_PASSWORD=someSafePassword
ADMIN_USERNAME=admin

Test Development Guidelines

These guidelines are a work in progress. While most of this document should be treated as suggestions, there is one concept that should not be broken:

State should not be shared between tests. The order tests are executed should not impact the outcome of individual tests.

Without this guarantee, tests cannot be run in parallel, and modifications to an individual test could impact the entire suite. There is almost always a design modification that can be made to avoid this being necessary.

The rest are guidelines and not absolutes. There are exceptions to every rule, and they can be discussed during code review.

{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"target": "es2020",
"module": "commonjs",
"strict": true,
"outDir": "./dist",
"rootDir": "./src",
"sourceMap": true,
"esModuleInterop": true,
❯ dotnet run --state TX
┌───────────────┬─────────────────┬─────────────────┐
│ County │ Rep. 2016 delta │ Dem. 2016 delta │
├───────────────┼─────────────────┼─────────────────┤
│ Anderson │ 1861 │ 565 │
│ Andrews │ 1010 │ 13 │
│ Angelina │ 3402 │ 1598 │
│ Aransas │ 1470 │ 431 │
│ Archer │ 514 │ 52 │
│ Armstrong │ 111 │ 5 │
┌─────────────┬─────────────────┬─────────────────┐
│ County │ Rep. 2016 delta │ Dem. 2016 delta │
├─────────────┼─────────────────┼─────────────────┤
│ Adams │ 1396 │ 584 │
│ Ashland │ 542 │ 568 │
│ Barron │ 2183 │ 1299 │
│ Bayfield │ 493 │ 1202 │
│ Brown │ 8655 │ 12127 │
│ Buffalo │ 786 │ 334 │
│ Burnett │ 1051 │ 620 │
<i class="fas fa-baseball-ball"></i>
<i class="fas fa-book-open"></i>
<i class="fas fa-desktop"></i>
<i class="fas fa-heart"></i>
<i class="fas fa-walking"></i>
<i class="fas fa-user-friends"></i>
<i class="fas fa-couch"></i>
<i class="fas fa-gamepad"></i>
public class Rootobject
{
public Datum[] data { get; set; }
public Pagination pagination { get; set; }
}
public class Pagination
{
public string cursor { get; set; }
}
public class Rootobject
{
public Datum[] data { get; set; }
public Pagination pagination { get; set; }
}
public class Pagination
{
public string cursor { get; set; }
}
public class Rootobject
{
public Datum[] data { get; set; }
public Pagination pagination { get; set; }
}
public class Pagination
{
public string cursor { get; set; }
}