Skip to content

Commit

Permalink
Test Properties panel UI Improvment
Browse files Browse the repository at this point in the history
Readme update
  • Loading branch information
albilu committed Jun 3, 2024
1 parent 33e8752 commit f32534a
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 33 deletions.
71 changes: 44 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@
Follow the [Wiki Session](https://github.com/albilu/netbeansPython/wiki) (WIP) for the full `user guide`

### Requirements

[![](https://img.shields.io/badge/Python-3.7+-green)]() [![](https://img.shields.io/badge/JDK-11+-green)]() [![](https://img.shields.io/badge/Netbeans-13+-green)]()

### Installation
- Install from Netbeans \
`Tools -> Plugins -> Available Plugins -> Install`
- Or Download the latest [release](https://github.com/albilu/netbeansPython/releases) and install in Netbeans: \
`Tools -> Plugins -> Downloaded -> Add Plugins -> Install`

- Install from Netbeans \
`Tools -> Plugins -> Available Plugins -> Install`

- If Plugin not available, register the repository
`Tools -> Plugins -> Settings -> Add`
https://raw.githubusercontent.com/albilu/netbeansPython/master/ppuc/{Netbeans version}/updates.xml

- Or Download the latest [release](https://github.com/albilu/netbeansPython/releases) and install in Netbeans: \
`Tools -> Plugins -> Downloaded -> Add Plugins -> Install`

### Bugs

Expand All @@ -29,52 +36,62 @@ The project is driven by the need to bring to Netbeans similar support for Pytho
### Support/Contribute/Sponsor

Support this project growth and maintenance by:
- Starring it [![](https://img.shields.io/github/stars/albilu/netbeansPython)]()
- Submiting [PR](https://github.com/albilu/netbeansPython/pulls) for issues in the backlog
- [Sponsoring it](https://github.com/sponsors/albilu)

- Starring it [![](https://img.shields.io/github/stars/albilu/netbeansPython)]()
- Submiting [PR](https://github.com/albilu/netbeansPython/pulls) for issues in the backlog
- [Sponsoring it](https://github.com/sponsors/albilu)

### Related Projects

This is a non exhaustive list of some outstanding projects this module rely on:
- [python-lsp-server](https://github.com/python-lsp/python-lsp-server): Python Language Server *by Spyder IDE Community*
- [pty4j](https://github.com/JetBrains/pty4j): Java implementation of PTY *by JetBrains*
- [pynguin](https://github.com/se2p/pynguin): Python Unit Test Generator

- [python-lsp-server](https://github.com/python-lsp/python-lsp-server): Python Language Server _by Spyder IDE Community_
- [pty4j](https://github.com/JetBrains/pty4j): Java implementation of PTY _by JetBrains_
- [pynguin](https://github.com/se2p/pynguin): Python Unit Test Generator

## Main Features

### Project Management
- Simple Python project type creation (with `venv/virtualenv`)
- Import projects from Sources
- Simple [Poetry](https://python-poetry.org/) project creation (common `poetry` commands supported)
- Run/Build projects

- Simple Python project type creation (with `venv/virtualenv`)
- Import projects from Sources
- Simple [Poetry](https://python-poetry.org/) project creation (common `poetry` commands supported)
- Run/Build projects
![f9b73732e9534000af91eb4e9bf11208.png](_resources/f9b73732e9534000af91eb4e9bf11208.png)

### LSP Server Features
- [See list of features supported](https://github.com/python-lsp/python-lsp-server#lsp-server-features)

- [See list of features supported](https://github.com/python-lsp/python-lsp-server#lsp-server-features)
![d242d82a04c729be7c6e6b0b84759c2f.png](_resources/d242d82a04c729be7c6e6b0b84759c2f.png)
- [LSP Configurations](https://github.com/python-lsp/python-lsp-server#configuration) available in Netbeans via: \
`Tools -> Python Platforms -> Lsp Server`
- [LSP Configurations](https://github.com/python-lsp/python-lsp-server#configuration) available in Netbeans via: \
`Tools -> Python Platforms -> Lsp Server`
![f4ecdf1c9e7648113e8dd265b277366a.png](_resources/f4ecdf1c9e7648113e8dd265b277366a.png)

### Python Interpreters Management
- Multiple Python Interpreters Management including [venv](https://docs.python.org/3/library/venv.html#venv-def) and `virtualenv`

- Multiple Python Interpreters Management including [venv](https://docs.python.org/3/library/venv.html#venv-def) and `virtualenv`
![cad96c97900764698d62caf7d6bf49b4.png](_resources/cad96c97900764698d62caf7d6bf49b4.png)

### Packages Management
- Manage Python Packages (Install/Delete) via [Pypi](https://pypi.org/) or personal Repositories \
`Windows -> Python Package Manager`

- Manage Python Packages (Install/Delete) via [Pypi](https://pypi.org/) or personal Repositories \
`Windows -> Python Package Manager`
![74a5dd8877b9608931b49604ab59440d.png](_resources/74a5dd8877b9608931b49604ab59440d.png)

### Python REPL
- [IPython](https://github.com/ipython/ipython) and [PTPython](https://github.com/prompt-toolkit/ptpython) integrated as Interactive Shells (with autocompletion) \
`Windows -> Interactive Python Interpreters -> IPython`

- [IPython](https://github.com/ipython/ipython) and [PTPython](https://github.com/prompt-toolkit/ptpython) integrated as Interactive Shells (with autocompletion) \
`Windows -> Interactive Python Interpreters -> IPython`
![b18df5a8d44631819affe75ecd6fab61.png](_resources/b18df5a8d44631819affe75ecd6fab61.png)

### Unittest/Test Coverage
- [Unittest](https://docs.python.org/3/library/unittest.html)/code [coverage](https://coverage.readthedocs.io/en/7.2.2/#) suportted
- Create/Generate unit tests
- Go to test/tested class

- [Unittest](https://docs.python.org/3/library/unittest.html)/code [coverage](https://coverage.readthedocs.io/en/7.2.2/#) suportted
- Create/Generate unit tests
- Go to test/tested class
![ebaed2b72b503dec7733d6698f3a0a72.png](_resources/ebaed2b72b503dec7733d6698f3a0a72.png)

### Debugger
- Lite Python Debugger relying on the Python internal debugger [PDB](https://docs.python.org/3/library/pdb.html) (breakpoints/callstack/variable inspection) supported
![74a5dd8877b9608931b49604ab59555d.png](_resources/74a5dd8877b9608931b49604ab59555d.png)

- Lite Python Debugger relying on the Python internal debugger [PDB](https://docs.python.org/3/library/pdb.html) (breakpoints/callstack/variable inspection) supported
![74a5dd8877b9608931b49604ab59555d.png](_resources/74a5dd8877b9608931b49604ab59555d.png)
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
<Component id="testGeneratorParamsLabel" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="testGeneratorDirLabel" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="testGeneratorParamsTextField" pref="378" max="32767" attributes="0"/>
<Component id="testGeneratorParamsTextField" pref="400" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Component id="testGeneratorDirTextField" pref="294" max="32767" attributes="0"/>
<Component id="testGeneratorDirTextField" pref="322" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="testGeneratorDirButton" min="-2" max="-2" attributes="0"/>
</Group>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(testGeneratorLabel)
.addComponent(testGeneratorParamsLabel)
.addComponent(testGeneratorDirLabel))
.addGap(18, 18, 18)
.addGap(25, 25, 25)
.addGroup(testGeneratorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(testGeneratorParamsTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 378, Short.MAX_VALUE)
.addComponent(testGeneratorParamsTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
.addGroup(testGeneratorPanelLayout.createSequentialGroup()
.addComponent(testGeneratorDirTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 294, Short.MAX_VALUE)
.addComponent(testGeneratorDirTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 322, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(testGeneratorDirButton))
.addComponent(testGeneratorComboBox, javax.swing.GroupLayout.Alignment.TRAILING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
Expand Down

0 comments on commit f32534a

Please sign in to comment.