Top-Q / jsystem

JSystem is a professional open-source framework for writing and managing automated system tests.
http://www.jsystem.org/
Apache License 2.0
45 stars 48 forks source link

Parameters from type parameter provider are not fully shown in the Difido HTML report #330

Closed itaiag closed 6 years ago

itaiag commented 6 years ago

When using a custom test parameter with multiple fields, only the first field is being shown in the Difido reporter (without its value)

JSystem version: 6.1.09

Attached parameter code example with primitive data members. The issue also occurs when the data members are Enums, custom classes, etc.

How to reproduce:

  1. Add the parameter code below to a JSystem test
  2. Fill all the fields
  3. Run the test
  4. Check the Difido reporter
public class CandidateTableValues implements Serializable{

    private int iD;
    private int grade;
    private int blobs;
    private int volume;

    public CandidateTableValues(int iD, int grade, int blobs, int volume) {
        this.iD = iD;
        this.grade = grade;
        this.blobs = blobs;
        this.volume = volume;
    }

    public CandidateTableValues() {
    }

    public int getiD() {
        return iD;
    }

    public void setiD(int iD) {
        this.iD = iD;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getBlobs() {
        return blobs;
    }

    public void setBlobs(int blobs) {
        this.blobs = blobs;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }
}

Expected Result: expected

Actual Result act

There is also an issue in the Difido reports repository.