Project

General

Profile

Support #521

Manual: automatically check all examples

Added by John Abbott about 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Manual/documentation
Start date:
04 Apr 2014
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Write a script/program which automatically checks all examples in the manual.


Related issues

Related to CoCoA-5 - Support #558: CoCoAManual: semi-automatic check of all inputClosed2014-05-14

History

#1 Updated by John Abbott about 10 years ago

Scan file for lines starting with /**/ inside a <example>...</example> block. Check that the CoCoA commands work and that they produce the given output. Start a new CoCoA session for each <example>...</example> block.

May we suppose that the current ring is QQ[x,y,z] at the start of an example? Or must every example start with a Use command?

Anna says she already has a rudimentary scanner.

#2 Updated by John Abbott about 7 years ago

  • Related to Support #558: CoCoAManual: semi-automatic check of all input added

#3 Updated by John Abbott about 7 years ago

  • Target version changed from CoCoA-5.?.? to CoCoA-5.2.0 spring 2017

#4 Updated by Anna Maria Bigatti about 7 years ago

Done (again, long time ago...). It is called by

 make ManExamples

in CoCoA-5/.

#5 Updated by Anna Maria Bigatti about 7 years ago

This seems a duplicate of #558, closed for CoCoA-5.1.0 Easter14.

Unless you mean to check also the output (then it's DIFFICULT!)

#6 Updated by Anna Maria Bigatti almost 7 years ago

John, close this issue, as done in #558?

#7 Updated by John Abbott almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

WQe mustremember to do this before each release!Closing

#8 Updated by Anna Maria Bigatti almost 7 years ago

it is in the checklist in #851 ;-)
which I copy for every release

Also available in: Atom PDF