Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usecase: AutoTest Context Provider #14

Closed
phodal opened this issue Jun 7, 2024 · 0 comments
Closed

Usecase: AutoTest Context Provider #14

phodal opened this issue Jun 7, 2024 · 0 comments

Comments

@phodal
Copy link
Owner

phodal commented Jun 7, 2024

No description provided.

@phodal phodal changed the title AutoTest Context Provider Usecase: AutoTest Context Provider Jun 7, 2024
phodal added a commit that referenced this issue Jun 11, 2024
Add a new Shire Action template and action for creating Shire files with front matter.
phodal added a commit that referenced this issue Jun 14, 2024
…14

- Added CodeStructVariableProvider interface to resolve variables needed for code struct generation.
- Updated auto-test.md to use targetTestFileName instead of targetClassName.
phodal added a commit that referenced this issue Jun 14, 2024


Updated the CodeStructVariable enum with more descriptive values and improved documentation for each variable.
phodal added a commit that referenced this issue Jun 14, 2024
Add TfIdf class for text analysis with document processing and search capabilities.
phodal added a commit that referenced this issue Jun 14, 2024
Introduce TermSplitter for splitting terms based on naming styles and StopwordsBasedTokenizer for tokenizing input strings. Added JaccardSimilarity for calculating similarity scores. Included comprehensive unit tests for TermSplitter.
phodal added a commit that referenced this issue Jun 14, 2024
Refactor SimilarChunksSearch class by extracting methods for better readability and maintainability.
phodal added a commit that referenced this issue Jun 15, 2024
- Refactored JavaPsiContextVariableProvider for better readability and maintainability.
- Added support for new PsiVariable types and enhanced existing functionality.
phodal added a commit that referenced this issue Jun 15, 2024
Refactor the creation and execution of the runner in the ShireRunConfigurationProfileState class for better readability and maintainability.
phodal added a commit that referenced this issue Jun 15, 2024
- Update variable handling in the compiler
- Add support for symbol table in the compiler
- Refactor variable types to use an enum for clarity
phodal added a commit that referenced this issue Jun 15, 2024
…rovider #14

Refactor the PsiVariable enum to a new file and introduce the PsiContextVariableProvider interface to resolve variables for code struct generation.
phodal added a commit that referenced this issue Jun 16, 2024
Add SymbolResolver class to resolve variables in ShireRunner for template compilation.
phodal added a commit that referenced this issue Jun 16, 2024
…14

Imported PsiContextVariableProvider for language-specific variable resolution in SymbolResolver.
phodal added a commit that referenced this issue Jun 16, 2024
- Add support for HobbitHole in ShireRunner and its subclasses
- Update SymbolResolver to handle built-in variables
phodal added a commit that referenced this issue Jun 16, 2024
- Refactored the toolchain context gathering process to use coroutines for better performance and readability.
phodal added a commit that referenced this issue Jun 16, 2024
- Refactored symbol resolution to handle edge cases more robustly.
- Updated compilation process to append used text to the output.
phodal added a commit that referenced this issue Jun 16, 2024
Refactored the code to improve the handling of toolchain context items by extracting them individually before joining them into a string.
phodal added a commit that referenced this issue Jun 16, 2024


Update return types to Any for variable resolution methods to allow flexibility in handling different data types.

This commit modifies the return types of variable resolution methods in the runner package to Any, enabling the handling of various data types.
phodal added a commit that referenced this issue Jun 16, 2024


Refactor Java toolchain provider and related classes to improve structure and readability.
phodal added a commit that referenced this issue Jun 17, 2024
…tedClassesProvider #14

Refactor JavaRelatedClassesProvider to implement the RelatedClassesProvider interface and rename the method to lookupMethod.
phodal added a commit that referenced this issue Jun 17, 2024
Simplify the findRelatedClasses method by chaining filter, mapNotNull, and filter functions for better readability.
phodal added a commit that referenced this issue Jun 17, 2024
Updated the RelatedClassesProvider interface and its implementation, JavaRelatedClassesProvider, to support lookup of related classes not only for PsiMethod but also for PsiClass. This enhancement includes the addition of detailed documentation for both the interface and the implementation.
phodal added a commit that referenced this issue Jun 17, 2024
…code #14

Simplified the code in JavaPsiContextVariableProvider by removing unnecessary condition checks and optimizing the method call resolution process. Also, added a new private function to handle the lookup of under test methods.
phodal added a commit that referenced this issue Jun 17, 2024
Refactored the method name from 'getClassStructure' to 'build' in JavaClassStructureProvider and other related classes. Added a new class 'JavaCodeModifier' for inserting test code into a specified source file in a Kotlin project.
phodal added a commit that referenced this issue Jun 17, 2024
…#14

Introduced a new MethodStructureProvider interface for retrieving method context. Also added a new MethodStructure class and made modifications to the FormatableElement class. Updated the project file utilities and the resources XML file to accommodate these changes.
phodal added a commit that referenced this issue Jun 17, 2024
Added two new classes, FileStructure and VariableStructure, to the codemodel package. These classes provide detailed formatting for file and variable structures respectively.
phodal added a commit that referenced this issue Jun 17, 2024
…der, refactor MethodStructureProvider #14

Added new VariableStructureProvider and FileStructureProvider interfaces to handle variable and file structures respectively. Refactored MethodStructureProvider to rename `getMethodContext` method to `build`. Updated extension points in the XML configuration file to include the new providers.
phodal added a commit that referenced this issue Jun 17, 2024
…#14

Update ClassStructure and MethodStructure in codemodel to improve code formatting. Add methods to get field names and method signatures in ClassStructure. Refactor initialization of classContext in MethodStructure. Make fanInOut property public in MethodStructure.
@phodal phodal closed this as completed Jun 17, 2024
phodal added a commit that referenced this issue Jun 17, 2024
Updated the FileStructure class in the codemodel package to use PsiNameIdentifierOwner instead of PsiElement for classes and methods. Also, added a new DirectoryStructure class to represent the structure of a directory, including its files and their classes.
phodal added a commit that referenced this issue Jun 18, 2024
… handling #14

Remove unnecessary type check in `setStopwords` function in `TfIdf.kt`. Refactor `ShireExpression.kt` to handle `FrontMatterType` more explicitly and simplify `methodName` usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant