Giter Club home page Giter Club logo

automated-rendering-testing's People

Contributors

copyninja avatar nandajavarma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kartikm smc

automated-rendering-testing's Issues

HTML code issues

Use consistent formatting. Do not mixup spaces and tabs.

Home.html - the div is not closed-

indentation is wrong.

Some attributes has quotes, some does not have. same is the case for rest of the elements in home.html

Start using an IDE for editing code, then you will have consistent formatting and all the code issues can be identified easily.

layout.html has trailing whitespaces.
It does not say page encoding.

what is the meaning of strong here

Wrong error message with font not found

$ ./rendering_test.py ml-test-data/rachana-test-data/Rachana.ini

Rendering problems observed!

Could not open the file Rachana.ttf

Actually problem about rendering issues should not be reported if font not found

webapp- main.css formatting is broken

Use consistent whitespaces - use tabs for indentation.

Use consistent blank lines between style definitions.

body font: font-family: ‘Palatino Linotype’, ‘Book Antiqua’, Palatino, serif; What are these fonts, are they used as webfonts?

background:#666666 url(img/button.png) no-repeat;
where is this image?

Use consistent spacing after column. clear:both; -> clear: both;

Rachana- Wrong tests for Malayalam

The following tests fails. But I dont see any issue in rendering. I guess tests are wrong. Please fix

എടാാാാാാാാ
ക്സ്ര
ന്റ്ര
ഖ്ര
ഥ്ര
വൎത്തുളം
പ്പ്ര
അൎജ്ജുനന്‍
യ‍്യ
വ‍്വ
ൎക്ക്ര
ഗ്ഗ്രോ
ഗ്ഗ്ര

Also, if test fails, instead of just showing red, we must show actual result and expected result(glyph sequencens. Otherwise it is not useful.

routes.py using os.system

os.system('./renderingtesting.py -w wf -r rf it rendf -o outfile -e errorfile -f ff -m mydir')

This is inefficient way of calling rendering test. All these code are in same directory, project. Why can't we natively call the module methods instead of OS execution of the python script?

Fix pep8 errors in testing_modules

testing_modules/init.py:2:31: W291 trailing whitespace
testing_modules/create_result.py:4:1: E302 expected 2 blank lines, found 0
testing_modules/create_result.py:5:3: E111 indentation is not a multiple of four
testing_modules/create_result.py:6:3: E111 indentation is not a multiple of four
testing_modules/create_result.py:7:3: E111 indentation is not a multiple of four
testing_modules/create_result.py:8:3: E111 indentation is not a multiple of four
testing_modules/create_result.py:10:8: E222 multiple spaces after operator
testing_modules/create_result.py:12:7: E111 indentation is not a multiple of four
testing_modules/create_result.py:17:7: E111 indentation is not a multiple of four
testing_modules/create_result.py:19:7: E111 indentation is not a multiple of four
testing_modules/create_result.py:21:17: E202 whitespace before ']'
testing_modules/create_result.py:22:7: E111 indentation is not a multiple of four
testing_modules/create_result.py:22:34: E225 missing whitespace around operator
testing_modules/create_result.py:24:7: E111 indentation is not a multiple of four
testing_modules/create_result.py:26:3: E111 indentation is not a multiple of four
testing_modules/create_result.py:27:3: E111 indentation is not a multiple of four
testing_modules/create_result.py:28:1: W391 blank line at end of file
testing_modules/test.py:3:1: E302 expected 2 blank lines, found 0
testing_modules/test.py:3:80: E501 line too long (87 > 79 characters)
testing_modules/test.py:4:3: E111 indentation is not a multiple of four
testing_modules/test.py:5:3: E111 indentation is not a multiple of four
testing_modules/test.py:6:3: E111 indentation is not a multiple of four
testing_modules/test.py:7:3: E111 indentation is not a multiple of four
testing_modules/test.py:9:3: E111 indentation is not a multiple of four
testing_modules/test.py:9:41: E231 missing whitespace after ','
testing_modules/test.py:9:57: E231 missing whitespace after ','
testing_modules/test.py:10:3: E111 indentation is not a multiple of four
testing_modules/test.py:11:3: E111 indentation is not a multiple of four
testing_modules/test.py:12:3: E111 indentation is not a multiple of four
testing_modules/test.py:13:3: E111 indentation is not a multiple of four
testing_modules/test.py:14:1: E101 indentation contains mixed spaces and tabs
testing_modules/test.py:14:1: W191 indentation contains tabs
testing_modules/test.py:15:3: E111 indentation is not a multiple of four
testing_modules/test.py:17:7: E111 indentation is not a multiple of four
testing_modules/test.py:18:7: E111 indentation is not a multiple of four
testing_modules/test.py:18:53: E261 at least two spaces before inline comment
testing_modules/test.py:18:54: E262 inline comment should start with '# '
testing_modules/test.py:18:80: E501 line too long (117 > 79 characters)
testing_modules/test.py:19:7: E111 indentation is not a multiple of four
testing_modules/test.py:20:7: E111 indentation is not a multiple of four
testing_modules/test.py:23:7: E111 indentation is not a multiple of four
testing_modules/test.py:23:49: E261 at least two spaces before inline comment
testing_modules/test.py:23:50: E262 inline comment should start with '# '
testing_modules/test.py:23:80: E501 line too long (149 > 79 characters)
testing_modules/test.py:26:1: E101 indentation contains mixed spaces and tabs
testing_modules/test.py:26:1: W191 indentation contains tabs
testing_modules/test.py:27:3: E111 indentation is not a multiple of four
testing_modules/test.py:27:41: E231 missing whitespace after ','
testing_modules/test.py:27:57: E231 missing whitespace after ','
testing_modules/test.py:28:3: E111 indentation is not a multiple of four
testing_modules/test.py:29:3: E111 indentation is not a multiple of four
testing_modules/test.py:32:3: E111 indentation is not a multiple of four
testing_modules/test.py:33:3: E111 indentation is not a multiple of four
testing_modules/test.py:36:7: E111 indentation is not a multiple of four
testing_modules/test.py:39:3: E111 indentation is not a multiple of four
testing_modules/test.py:40:3: E111 indentation is not a multiple of four
testing_modules/test.py:41:3: E111 indentation is not a multiple of four
testing_modules/test.py:43:3: E111 indentation is not a multiple of four
testing_modules/test.py:44:3: E111 indentation is not a multiple of four
testing_modules/test.py:45:3: E111 indentation is not a multiple of four
testing_modules/test.py:48:3: E111 indentation is not a multiple of four
testing_modules/test.py:51:80: E501 line too long (91 > 79 characters)
testing_modules/test.py:53:7: E111 indentation is not a multiple of four
testing_modules/test.py:54:7: E111 indentation is not a multiple of four
testing_modules/test.py:55:3: E111 indentation is not a multiple of four
testing_modules/test.py:57:3: E111 indentation is not a multiple of four
testing_modules/test.py:58:3: E111 indentation is not a multiple of four
testing_modules/test.py:59:3: E111 indentation is not a multiple of four
testing_modules/test.py:61:7: E111 indentation is not a multiple of four
testing_modules/test.py:65:7: E111 indentation is not a multiple of four
testing_modules/test.py:67:3: E111 indentation is not a multiple of four
testing_modules/test.py:68:43: E221 multiple spaces before operator
testing_modules/test.py:69:3: E111 indentation is not a multiple of four
testing_modules/test.py:70:1: E101 indentation contains mixed spaces and tabs
testing_modules/test.py:70:1: W191 indentation contains tabs
testing_modules/test.py:70:1: W293 blank line contains whitespace
testing_modules/test.py:70:1: W391 blank line at end of file

Relative path error from ini

$ python rendering_test.py ml-test-data/meera-test-data/Meera.ini

Could not open the file ../ml-test-cases.txt

This relative path should work with respect to ini file

Fix pep8 errors in rendering_testing.py

rendering_testing.py:8:1: E302 expected 2 blank lines, found 0
rendering_testing.py:9:3: E111 indentation is not a multiple of four
rendering_testing.py:11:3: E111 indentation is not a multiple of four
rendering_testing.py:12:51: W291 trailing whitespace
rendering_testing.py:14:3: E111 indentation is not a multiple of four
rendering_testing.py:17:80: E501 line too long (125 > 79 characters)
rendering_testing.py:18:80: E501 line too long (139 > 79 characters)
rendering_testing.py:19:80: E501 line too long (148 > 79 characters)
rendering_testing.py:20:80: E501 line too long (109 > 79 characters)
rendering_testing.py:21:80: E501 line too long (118 > 79 characters)
rendering_testing.py:22:32: E251 unexpected spaces around keyword / parameter equals
rendering_testing.py:22:80: E501 line too long (108 > 79 characters)
rendering_testing.py:23:80: E501 line too long (137 > 79 characters)
rendering_testing.py:26:1: E101 indentation contains mixed spaces and tabs
rendering_testing.py:26:1: W191 indentation contains tabs
rendering_testing.py:28:1: E101 indentation contains mixed spaces and tabs
rendering_testing.py:28:1: W191 indentation contains tabs
rendering_testing.py:32:80: E501 line too long (135 > 79 characters)
rendering_testing.py:34:3: E111 indentation is not a multiple of four
rendering_testing.py:34:80: E501 line too long (188 > 79 characters)
rendering_testing.py:36:3: E111 indentation is not a multiple of four
rendering_testing.py:36:16: E231 missing whitespace after ','
rendering_testing.py:37:3: E111 indentation is not a multiple of four
rendering_testing.py:40:3: E111 indentation is not a multiple of four
rendering_testing.py:41:1: E101 indentation contains mixed spaces and tabs
rendering_testing.py:41:1: W191 indentation contains tabs
rendering_testing.py:42:3: E111 indentation is not a multiple of four
rendering_testing.py:46:7: E111 indentation is not a multiple of four
rendering_testing.py:46:13: E222 multiple spaces after operator
rendering_testing.py:46:80: E501 line too long (116 > 79 characters)
rendering_testing.py:47:7: E111 indentation is not a multiple of four
rendering_testing.py:48:80: E501 line too long (106 > 79 characters)
rendering_testing.py:55:1: W391 blank line at end of file

if no arguments passed show help

$ python rendering_test.py
Traceback (most recent call last):
File "rendering_test.py", line 26, in
script, config_file = argv
ValueError: need more than 1 value to unpack

This should not happen

Reorganize test data

Have a folder for each font. In that folder add ttf, glyphs data and test files

Improve the README file

Split the content to multiple sections: Introduction, installation, using, adding a test case, how it works etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.