C / C++ / C# / Java / CoffeeScript / JavaScript / Node / Angular / Vue / Cycle.js / functional programming / testing
glebbahmutov.com/blog testing posts
A typical Mercari US Cypress E2E test
2022: Mercari US disallows using AI code generation assistants pending a legal review
2023: Mercari US allows using AI code generation assistants after a legal review
Profit!!!
VSCode Copilot Extension
Which model?
Mercari US isn't paying for Copilot GH CLI extension
Tip: VSCode Copilot Chat extension
can provide the same info as GitHub CLI copilot
Is GitHub Copilot
making me more productive?
Measuring programming progress by lines of code is like measuring aircraft building progress by weight.
Add a comment like "// format the price using USD currency" to see better suggestions
imprecise for the computer
cy
command chain/fix
command/doc
command to generate JSDoc commentscy.log
commandshttps://github.com/bahmutov/cypress-copilot-example
branch bonus02
❤️ the "/explain" command
GitHub Copilot is the "Y" key when playing Mario
Download public models (almost like Docker!)
{
"models": [
{
"title": "DeepSeek Coder 6.7b",
"provider": "ollama",
"model": "deepseek-coder:6.7b"
},
{
"model": "claude-3-5-sonnet-latest",
"provider": "anthropic",
"apiKey": "",
"title": "Claude 3.5 Sonnet"
}
],
"tabAutocompleteModel": {
"title": "DeepSeek Coder 6.7b",
"provider": "ollama",
"model": "deepseek-coder:6.7b"
},
"embeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text"
}
}
Stay tuned for a blog post about it
For more, see https://cypress.tips/courses