Closed AmalGo90 closed 6 years ago
could you please update?
same issues only i'm facing please provide suggestions
Hi Sina,
can you please share an update?
Asking every couple of hours will not get this problem solved quicker.
Can you please provide a complete pom.xml rather than an excerpt so that we can build your example.
@AmalGo90 if you want me to fix this, can you please produce a minimal example. I cannot run your source code example because I don't know what the dependencies are, and I don't have all dependencies that are imported. (Same holds for #99)
Since I cannot reproduce this, I am closing this issue.
getting the same issue
Context
I am trying to generate the test case for DAO package but its not getting generated. Seems while generating test case for the BaseDaoSupport it gives me following error. Due to that wherever I extends this BaseDaoSupport that classes also not getting generated.
[INFO] [MASTER] 16:25:31.746 [main] WARN StorageManager - No CSV file for CUT with test suite at C:\TestSpringBoot.evosuite\tmp_2017_03_29_16_15_53\tests\com\wal\acc\dao\impl\BaseDaoSupport_ESTest.java
Can you please assist?
Steps to Reproduce
EvoSuite Arguments
clean evosuite:generate evosuite:export test
Expected result
It should generate the test case for the DAO pacakage
Additional info
Please look the below code and provide solution
pom.xml
BaseDaoSupport .java
package com.wal.acc.dao.impl;
import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.jpa.HibernateEntityManagerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.jdbc.core.JdbcTemplate;
public class BaseDaoSupport {
}
SpringBootDaoImpl.java
package com.wal.acc.dao.impl; import com.wal.acc.dao.api.SpringBootDao; import java.util.; import java.util.logging.Logger; import org.hibernate.Criteria; import org.springframework.stereotype.Repository; import com.wal.acc.dto.jaxb.; import com.wal.acc.common.DAOException; import com.wal.acc.dao.impl.BaseDaoSupport; import com.wal.acc.model.Automation;
@Repository public class SpringBootDaoImpl extends BaseDaoSupport implements SpringBootDao {
}
If I remove "extends BaseDaoSupport " from my DAO impl, test case getting generated. But after adding, test case not getting generated. Please assist.