Directory

← Back

Test Code Generator

A tool for generating layout code for a running application

Author

Rating

Popularity

<100

Want to generate a test case for a layout problem in your application? Want to dump the layout so a designer can theme it without having access to your backend? Test Code Generator is here to help you!

Add the extension to your UI, open your application in debug mode and press the "T" button. In the window that popups up you will find generated Java code which reproduces the layout you are seeing. Copy the code to a new Vaadin 7 project and you are ready to go.

Sample code

    @Override
    protected void init(VaadinRequest request) {
        new TestCodeGenerator().extend(this);
    }

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Initial version

Released
2013-01-25
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Browser
Browser Independent

Test Code Generator - Vaadin Add-on Directory

A tool for generating layout code for a running application Test Code Generator - Vaadin Add-on Directory
Want to generate a test case for a layout problem in your application? Want to dump the layout so a designer can theme it without having access to your backend? Test Code Generator is here to help you! Add the extension to your UI, open your application in debug mode and press the "T" button. In the window that popups up you will find generated Java code which reproduces the layout you are seeing. Copy the code to a new Vaadin 7 project and you are ready to go.
Online