65 lines
No EOL
1.3 KiB
Lua
65 lines
No EOL
1.3 KiB
Lua
describe('cp.execute', function()
|
|
local execute
|
|
|
|
before_each(function()
|
|
execute = require('cp.execute')
|
|
end)
|
|
|
|
describe('compilation', function()
|
|
it('compiles cpp files correctly', function()
|
|
end)
|
|
|
|
it('handles compilation errors gracefully', function()
|
|
end)
|
|
|
|
it('uses correct compiler flags', function()
|
|
end)
|
|
end)
|
|
|
|
describe('test execution', function()
|
|
it('runs tests against sample input', function()
|
|
end)
|
|
|
|
it('captures program output correctly', function()
|
|
end)
|
|
|
|
it('handles execution timeouts', function()
|
|
end)
|
|
|
|
it('detects runtime errors', function()
|
|
end)
|
|
end)
|
|
|
|
describe('result comparison', function()
|
|
it('compares output with expected results', function()
|
|
end)
|
|
|
|
it('handles whitespace differences correctly', function()
|
|
end)
|
|
|
|
it('reports differences clearly', function()
|
|
end)
|
|
end)
|
|
|
|
describe('debug mode execution', function()
|
|
it('runs programs with debug flags', function()
|
|
end)
|
|
|
|
it('provides debugging information', function()
|
|
end)
|
|
|
|
it('handles debug mode timeouts', function()
|
|
end)
|
|
end)
|
|
|
|
describe('batch execution', function()
|
|
it('runs multiple test cases sequentially', function()
|
|
end)
|
|
|
|
it('reports aggregate results', function()
|
|
end)
|
|
|
|
it('stops on first failure when configured', function()
|
|
end)
|
|
end)
|
|
end) |