63 lines
No EOL
1.3 KiB
Lua
63 lines
No EOL
1.3 KiB
Lua
describe('cp command parsing', function()
|
|
local cp
|
|
|
|
before_each(function()
|
|
cp = require('cp')
|
|
cp.setup()
|
|
end)
|
|
|
|
describe('contest commands', function()
|
|
it('parses contest selection command', function()
|
|
end)
|
|
|
|
it('validates contest parameters', function()
|
|
end)
|
|
|
|
it('handles invalid contest names', function()
|
|
end)
|
|
end)
|
|
|
|
describe('problem commands', function()
|
|
it('parses problem selection command', function()
|
|
end)
|
|
|
|
it('handles problem identifiers correctly', function()
|
|
end)
|
|
|
|
it('validates problem parameters', function()
|
|
end)
|
|
end)
|
|
|
|
describe('scraping commands', function()
|
|
it('parses scrape command with platform', function()
|
|
end)
|
|
|
|
it('handles platform-specific parameters', function()
|
|
end)
|
|
|
|
it('validates scraper availability', function()
|
|
end)
|
|
end)
|
|
|
|
describe('test commands', function()
|
|
it('parses test execution command', function()
|
|
end)
|
|
|
|
it('handles test navigation commands', function()
|
|
end)
|
|
|
|
it('parses test panel commands', function()
|
|
end)
|
|
end)
|
|
|
|
describe('error handling', function()
|
|
it('handles malformed commands gracefully', function()
|
|
end)
|
|
|
|
it('provides helpful error messages', function()
|
|
end)
|
|
|
|
it('suggests corrections for typos', function()
|
|
end)
|
|
end)
|
|
end) |